Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ansible-playbook -i inventory/testing/gearman playbooks/testing/gearman.yml --check --diff
- PLAY [Prepare testing gearman server] ****************************************************************************************************************************************************************************************************************************************************************************************
- TASK [Gathering Facts] *******************************************************************************************************************************************************************************************************************************************************************************************************
- ok: [test04-backend.promo.com]
- ok: [staging-php7-backend.slide.ly]
- ok: [test02-backend.promo.com]
- ok: [test05-backend.promo.com]
- ok: [yellow-php7-backend.slide.ly]
- ok: [poland01-backend.promo.com]
- ok: [test01-backend.promo.com]
- ok: [test03-backend.promo.com]
- TASK [supervisor : Install supervisor] ***************************************************************************************************************************************************************************************************************************************************************************************
- ok: [test04-backend.promo.com]
- ok: [test05-backend.promo.com]
- ok: [poland01-backend.promo.com]
- ok: [test02-backend.promo.com]
- ok: [test03-backend.promo.com]
- ok: [test01-backend.promo.com]
- ok: [staging-php7-backend.slide.ly]
- ok: [yellow-php7-backend.slide.ly]
- TASK [supervisor : Configure supervisor] *************************************************************************************************************************************************************************************************************************************************************************************
- ok: [test05-backend.promo.com]
- ok: [test01-backend.promo.com]
- --- before: /etc/supervisor/supervisord.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpHbg8zc/supervisord.conf.j2
- @@ -2,12 +2,16 @@
- [unix_http_server]
- file=/var/run/supervisor.sock ; (the path to the socket file)
- -chmod=0700 ; sockef file mode (default 0700)
- +
- +[inet_http_server]
- +port = :9001
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
- pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
- childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
- +user=root
- +minfds=65536
- ; the below section must remain in the config file for RPC
- ; (supervisorctl/web interface) to work, additional interfaces may be
- changed: [test04-backend.promo.com]
- --- before: /etc/supervisor/supervisord.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpgH5yWs/supervisord.conf.j2
- @@ -2,12 +2,16 @@
- [unix_http_server]
- file=/var/run/supervisor.sock ; (the path to the socket file)
- -chmod=0700 ; sockef file mode (default 0700)
- +
- +[inet_http_server]
- +port = :9001
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
- pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
- childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
- +user=root
- +minfds=65536
- ; the below section must remain in the config file for RPC
- ; (supervisorctl/web interface) to work, additional interfaces may be
- changed: [poland01-backend.promo.com]
- --- before: /etc/supervisor/supervisord.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmp_oJ0MG/supervisord.conf.j2
- @@ -2,12 +2,16 @@
- [unix_http_server]
- file=/var/run/supervisor.sock ; (the path to the socket file)
- -chmod=0700 ; sockef file mode (default 0700)
- +
- +[inet_http_server]
- +port = :9001
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
- pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
- childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
- +user=root
- +minfds=65536
- ; the below section must remain in the config file for RPC
- ; (supervisorctl/web interface) to work, additional interfaces may be
- changed: [test03-backend.promo.com]
- --- before: /etc/supervisor/supervisord.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpI0gFcm/supervisord.conf.j2
- @@ -2,12 +2,16 @@
- [unix_http_server]
- file=/var/run/supervisor.sock ; (the path to the socket file)
- -chmod=0700 ; sockef file mode (default 0700)
- +
- +[inet_http_server]
- +port = :9001
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
- pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
- childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
- +user=root
- +minfds=65536
- ; the below section must remain in the config file for RPC
- ; (supervisorctl/web interface) to work, additional interfaces may be
- changed: [test02-backend.promo.com]
- --- before: /etc/supervisor/supervisord.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpdPoMKZ/supervisord.conf.j2
- @@ -2,12 +2,16 @@
- [unix_http_server]
- file=/var/run/supervisor.sock ; (the path to the socket file)
- -chmod=0700 ; sockef file mode (default 0700)
- +
- +[inet_http_server]
- +port = :9001
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
- pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
- childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
- +user=root
- +minfds=65536
- ; the below section must remain in the config file for RPC
- ; (supervisorctl/web interface) to work, additional interfaces may be
- changed: [yellow-php7-backend.slide.ly]
- --- before: /etc/supervisor/supervisord.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmphOmEq3/supervisord.conf.j2
- @@ -2,12 +2,16 @@
- [unix_http_server]
- file=/var/run/supervisor.sock ; (the path to the socket file)
- -chmod=0700 ; sockef file mode (default 0700)
- +
- +[inet_http_server]
- +port = :9001
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
- pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
- childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
- +user=root
- +minfds=65536
- ; the below section must remain in the config file for RPC
- ; (supervisorctl/web interface) to work, additional interfaces may be
- changed: [staging-php7-backend.slide.ly]
- TASK [supervisor : create directory for availbale supervisor config] *********************************************************************************************************************************************************************************************************************************************************
- --- before
- +++ after
- @@ -1,4 +1,4 @@
- {
- "path": "/etc/supervisor/conf-available.d",
- - "state": "absent"
- + "state": "directory"
- }
- changed: [poland01-backend.promo.com]
- --- before
- +++ after
- @@ -1,4 +1,4 @@
- {
- "path": "/etc/supervisor/conf-available.d",
- - "state": "absent"
- + "state": "directory"
- }
- changed: [staging-php7-backend.slide.ly]
- ok: [test01-backend.promo.com]
- --- before
- +++ after
- @@ -1,4 +1,4 @@
- {
- "path": "/etc/supervisor/conf-available.d",
- - "state": "absent"
- + "state": "directory"
- }
- changed: [test02-backend.promo.com]
- --- before
- +++ after
- @@ -1,4 +1,4 @@
- {
- "path": "/etc/supervisor/conf-available.d",
- - "state": "absent"
- + "state": "directory"
- }
- changed: [test04-backend.promo.com]
- --- before
- +++ after
- @@ -1,4 +1,4 @@
- {
- "path": "/etc/supervisor/conf-available.d",
- - "state": "absent"
- + "state": "directory"
- }
- changed: [test03-backend.promo.com]
- ok: [test05-backend.promo.com]
- --- before
- +++ after
- @@ -1,4 +1,4 @@
- {
- "path": "/etc/supervisor/conf-available.d",
- - "state": "absent"
- + "state": "directory"
- }
- changed: [yellow-php7-backend.slide.ly]
- RUNNING HANDLER [supervisor : supervisor restart service] ********************************************************************************************************************************************************************************************************************************************************************
- changed: [test04-backend.promo.com]
- changed: [poland01-backend.promo.com]
- changed: [test02-backend.promo.com]
- changed: [test03-backend.promo.com]
- changed: [staging-php7-backend.slide.ly]
- changed: [yellow-php7-backend.slide.ly]
- TASK [animation_task_manager : create directory for application logs] ********************************************************************************************************************************************************************************************************************************************************
- ok: [poland01-backend.promo.com]
- ok: [staging-php7-backend.slide.ly]
- ok: [test01-backend.promo.com]
- ok: [test02-backend.promo.com]
- ok: [test03-backend.promo.com]
- ok: [test05-backend.promo.com]
- ok: [test04-backend.promo.com]
- ok: [yellow-php7-backend.slide.ly]
- TASK [animation_task_manager : Add task manager supervisor config] ***********************************************************************************************************************************************************************************************************************************************************
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpWshfio/taskManager.conf
- @@ -4,8 +4,10 @@
- process_name=%(program_name)s_%(process_num)02d
- autostart = true
- startsecs = 10
- -autorestart = unexpected
- +autorestart = true
- numprocs = 2
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [poland01-backend.promo.com]
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpTbctGW/taskManager.conf
- @@ -4,8 +4,10 @@
- process_name=%(program_name)s_%(process_num)02d
- autostart = true
- startsecs = 10
- -autorestart = unexpected
- +autorestart = true
- numprocs = 2
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [test01-backend.promo.com]
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmp40NAKP/taskManager.conf
- @@ -4,8 +4,10 @@
- process_name=%(program_name)s_%(process_num)02d
- autostart = true
- startsecs = 10
- -autorestart = unexpected
- +autorestart = true
- numprocs = 2
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [staging-php7-backend.slide.ly]
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpNuAAaw/taskManager.conf
- @@ -4,8 +4,10 @@
- process_name=%(program_name)s_%(process_num)02d
- autostart = true
- startsecs = 10
- -autorestart = unexpected
- +autorestart = true
- numprocs = 2
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [test02-backend.promo.com]
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpMVvpql/taskManager.conf
- @@ -4,8 +4,10 @@
- process_name=%(program_name)s_%(process_num)02d
- autostart = true
- startsecs = 10
- -autorestart = unexpected
- +autorestart = true
- numprocs = 2
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [test03-backend.promo.com]
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpiMZp2i/taskManager.conf
- @@ -4,8 +4,10 @@
- process_name=%(program_name)s_%(process_num)02d
- autostart = true
- startsecs = 10
- -autorestart = unexpected
- +autorestart = true
- numprocs = 2
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [test04-backend.promo.com]
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmp7nkdJz/taskManager.conf
- @@ -4,8 +4,10 @@
- process_name=%(program_name)s_%(process_num)02d
- autostart = true
- startsecs = 10
- -autorestart = unexpected
- +autorestart = true
- numprocs = 2
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [test05-backend.promo.com]
- --- before: /etc/supervisor/conf.d/taskManager.conf
- +++ after: /home/ansible/.ansible/tmp/ansible-local-25783yGkSDy/tmpEvi7eR/taskManager.conf
- @@ -9,3 +9,5 @@
- user = ubuntu
- redirect_stderr = true
- stdout_logfile = /var/log/taskManager/%(program_name)s_%(process_num)02d.log
- +stdout_logfile_maxbytes=5MB
- +stdout_logfile_backups=1
- changed: [yellow-php7-backend.slide.ly]
- RUNNING HANDLER [supervisor : supervisor restart service] ********************************************************************************************************************************************************************************************************************************************************************
- changed: [poland01-backend.promo.com]
- changed: [test01-backend.promo.com]
- changed: [staging-php7-backend.slide.ly]
- changed: [test03-backend.promo.com]
- changed: [test02-backend.promo.com]
- changed: [test04-backend.promo.com]
- changed: [test05-backend.promo.com]
- changed: [yellow-php7-backend.slide.ly]
- PLAY RECAP *******************************************************************************************************************************************************************************************************************************************************************************************************************
- poland01-backend.promo.com : ok=8 changed=5 unreachable=0 failed=0
- staging-php7-backend.slide.ly : ok=8 changed=5 unreachable=0 failed=0
- test01-backend.promo.com : ok=7 changed=2 unreachable=0 failed=0
- test02-backend.promo.com : ok=8 changed=5 unreachable=0 failed=0
- test03-backend.promo.com : ok=8 changed=5 unreachable=0 failed=0
- test04-backend.promo.com : ok=8 changed=5 unreachable=0 failed=0
- test05-backend.promo.com : ok=7 changed=2 unreachable=0 failed=0
- yellow-php7-backend.slide.ly : ok=8 changed=5 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement