Created
June 8, 2018 08:41
-
-
Save richlv/88b1f631e34d0fe09b847912719c819e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ansible-playbook group zabbix-agent.yml | |
PLAY [Configure Zabbix agent] ************************************************************************************************************************************************************************************************************** | |
TASK [Gathering Facts] ********************************************************************************************************************************************************************************************************************* | |
ok: [host41.example.com] | |
ok: [host40.example.com] | |
ok: [host42.example.com] | |
ok: [host4.example.com] | |
changed: [host4.example.com] => (item=Server) | |
ok: [host40.example.com] => (item=Server) | |
ok: [host41.example.com] => (item=Server) | |
ok: [host42.example.com] => (item=Server) | |
changed: [host4.example.com] => (item=ServerActive) | |
TASK [zabbix-agent : Configure Zabbix server for the Zabbix agent] ************************************************************************************************************************************************************************* | |
ok: [host40.example.com] => (item=ServerActive) | |
ok: [host41.example.com] => (item=ServerActive) | |
ok: [host42.example.com] => (item=ServerActive) | |
TASK [zabbix-agent : Comment out the Hostname parameter] *********************************************************************************************************************************************************************************** | |
changed: [host4.example.com] | |
ok: [host40.example.com] | |
ok: [host41.example.com] | |
ok: [host42.example.com] | |
TASK [zabbix-agent : Enable remote commands] *********************************************************************************************************************************************************************************************** | |
changed: [host4.example.com] | |
ok: [host40.example.com] | |
ok: [host42.example.com] | |
ok: [host41.example.com] | |
TASK [zabbix-agent : Enable remote command logging] **************************************************************************************************************************************************************************************** | |
changed: [host4.example.com] | |
ok: [host40.example.com] | |
ok: [host41.example.com] | |
ok: [host42.example.com] | |
TASK [zabbix-agent : add Zabbix home directory] ******************************************************************************************************************************************************************************************** | |
changed: [host4.example.com] | |
ok: [host40.example.com] | |
ok: [host41.example.com] | |
ok: [host42.example.com] | |
TASK [zabbix-agent : Allow zabbix to use sudo without tty] ********************************************************************************************************************************************************************************* | |
changed: [host4.example.com] | |
ok: [host40.example.com] | |
ok: [host41.example.com] | |
ok: [host42.example.com] | |
TASK [zabbix-agent : Set Zabbix agent to autostart] **************************************************************************************************************************************************************************************** | |
changed: [host4.example.com] | |
RUNNING HANDLER [zabbix-agent : Restart Zabbix agent] ************************************************************************************************************************************************************************************** | |
changed: [host40.example.com] | |
changed: [host41.example.com] | |
changed: [host42.example.com] | |
TASK [zabbix-agent : Restart Zabbix agent] ************************************************************************************************************************************************************************************************* | |
changed: [host4.example.com] | |
PLAY RECAP ********************************************************************************************************************************************************************************************************************************* | |
host4.example.com : ok=9 changed=8 unreachable=0 failed=0 | |
host40.example.com : ok=8 changed=1 unreachable=0 failed=0 | |
host41.example.com : ok=8 changed=1 unreachable=0 failed=0 | |
host42.example.com : ok=8 changed=1 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment