Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ patroni-experiment git:(master) ✗ ansible-playbook postgres.yml
- _________________
- < PLAY [postgres] >
- -----------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ________________________
- < TASK [Gathering Facts] >
- ------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ___________________________________________________
- < TASK [set-repo : Enabling set package repository] >
- ---------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ____________________________________________________
- < TASK [set-repo : Proxy for Centos Base repository] >
- ----------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ______________________________________________________
- < TASK [set-repo : Proxy for Centos Extras repository] >
- ------------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _______________________________________________________
- < TASK [set-repo : Proxy for Centos Updates repository] >
- -------------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ____________________________________________________
- < TASK [set-repo : Proxy for Centos EPEL repository] >
- ----------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ________________________________________________________
- < TASK [set-repo : Proxy for Centos Postgres repository] >
- --------------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.33.0]
- ok: [13.58.61.104]
- ____________________________________________
- < TASK [set-repo : Disabling standart repos] >
- --------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- __________________________________
- < TASK [set-repo : Installing pip] >
- ----------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _____________________________________________
- < TASK [set-repo : Copying pip configuration] >
- ---------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ________________________________________
- < TASK [consul : Populate service facts] >
- ----------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _____________________________________
- < TASK [consul : Disabling firewalld] >
- -------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- skipping: [13.58.61.104]
- skipping: [18.191.195.110]
- skipping: [13.58.33.0]
- _______________________________
- < TASK [consul : Creating user] >
- -------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ________________________________________________
- < TASK [consul : Installing unzip for unpacking] >
- ------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _____________________________________________
- < TASK [consul : Download and install consul] >
- ---------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [13.58.33.0]
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- __________________________________________
- < TASK [consul : Creating systemd service] >
- ------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ________________________________________________
- < TASK [consul : Creating consul data directory] >
- ------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ______________________________________________
- < TASK [consul : Copying consul configuration] >
- ----------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _________________________________
- < TASK [consul : Starting consul] >
- ---------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.33.0]
- ok: [13.58.61.104]
- _______________________________________
- < TASK [postgres : Installing Postgres] >
- ---------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [13.58.61.104]
- ok: [18.191.195.110]
- ok: [13.58.33.0]
- ___________________________________________________
- < TASK [patroni : Installing libraries for patroni] >
- ---------------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _______________________________________________
- < TASK [patroni : Upgrading pip and setuptools] >
- -----------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _____________________________________
- < TASK [patroni : Installing patroni] >
- -------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ___________________________________________
- < TASK [patroni : Copying patroni template] >
- -------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- changed: [18.191.195.110]
- changed: [13.58.61.104]
- changed: [13.58.33.0]
- ___________________________________________
- < TASK [patroni : Creating systemd service] >
- -------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- ___________________________________
- < TASK [patroni : Starting patroni] >
- -----------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [18.191.195.110]
- ok: [13.58.61.104]
- ok: [13.58.33.0]
- _____________________________________________
- < TASK [patroni : Wait for postgres to start] >
- ---------------------------------------------
- \ ^__^
- \ (oo)\_______
- (__)\ )\/\
- ||----w |
- || ||
- ok: [13.58.61.104]
- fatal: [18.191.195.110]: FAILED! => {"changed": false, "elapsed": 300, "msg": "Timeout when waiting for 127.0.0.1:5432"}
- fatal: [13.58.33.0]: FAILED! => {"changed": false, "elapsed": 300, "msg": "Timeout when waiting for 127.0.0.1:5432"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement