Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ansible) alvaro@debian:~/GitHub/ansible-tfg$ ansible-playbook pre.yml
- PLAY [all] ***************************************************************************************************************************************************************************
- TASK [Gathering Facts] ***************************************************************************************************************************************************************
- ok: [mon1]
- ok: [admin1]
- ok: [osd1]
- ok: [osd3]
- ok: [osd2]
- ok: [mon2]
- ok: [mon3]
- ok: [dns1]
- ok: [client2]
- ok: [client1]
- TASK [common : Ensure apt does not use debian replica] *******************************************************************************************************************************
- changed: [osd2]
- changed: [admin1]
- changed: [osd3]
- changed: [osd1]
- changed: [mon1]
- changed: [mon2]
- changed: [client1]
- changed: [client2]
- changed: [dns1]
- changed: [mon3]
- TASK [common : Ensure apt uses cica replica] *****************************************************************************************************************************************
- changed: [osd1] => (item=https://ftp.cica.es/debian/ buster)
- changed: [osd3] => (item=https://ftp.cica.es/debian/ buster)
- changed: [admin1] => (item=https://ftp.cica.es/debian/ buster)
- changed: [osd2] => (item=https://ftp.cica.es/debian/ buster)
- changed: [mon1] => (item=https://ftp.cica.es/debian/ buster)
- changed: [osd1] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [osd3] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [admin1] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [osd2] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [mon1] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [admin1] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [osd1] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [osd3] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [osd2] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [mon1] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [mon2] => (item=https://ftp.cica.es/debian/ buster)
- changed: [client1] => (item=https://ftp.cica.es/debian/ buster)
- changed: [mon3] => (item=https://ftp.cica.es/debian/ buster)
- changed: [client2] => (item=https://ftp.cica.es/debian/ buster)
- changed: [dns1] => (item=https://ftp.cica.es/debian/ buster)
- changed: [mon2] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [client1] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [client2] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [mon3] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [dns1] => (item=https://ftp.cica.es/debian/ buster-updates)
- changed: [mon2] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [client1] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [client2] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [mon3] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- changed: [dns1] => (item=https://ftp.cica.es/debian-security/ buster/updates)
- TASK [common : Ensure system is updated] *********************************************************************************************************************************************
- changed: [mon1]
- changed: [mon2]
- changed: [admin1]
- changed: [osd2]
- changed: [osd3]
- changed: [osd1]
- changed: [mon3]
- changed: [client1]
- changed: [client2]
- changed: [dns1]
- TASK [common : Set timezone to Europe/Madrid] ****************************************************************************************************************************************
- changed: [mon1]
- changed: [osd2]
- changed: [admin1]
- changed: [osd1]
- changed: [osd3]
- changed: [client1]
- changed: [client2]
- changed: [dns1]
- changed: [mon2]
- changed: [mon3]
- TASK [common : Ensure hosts file is not managed by cloud_init] ***********************************************************************************************************************
- changed: [osd1]
- changed: [osd2]
- changed: [mon1]
- changed: [osd3]
- changed: [admin1]
- changed: [mon3]
- changed: [mon2]
- changed: [client1]
- changed: [client2]
- changed: [dns1]
- TASK [common : Ensure hosts file does not resolve hostname] **************************************************************************************************************************
- changed: [mon1]
- changed: [osd3]
- changed: [osd2]
- changed: [admin1]
- changed: [osd1]
- changed: [mon2]
- changed: [mon3]
- changed: [client1]
- changed: [dns1]
- changed: [client2]
- TASK [common : Add DNS server to resolvconf configuration] ***************************************************************************************************************************
- changed: [mon1]
- changed: [osd2]
- changed: [osd1]
- changed: [osd3]
- changed: [admin1]
- changed: [mon2]
- changed: [mon3]
- changed: [client1]
- changed: [client2]
- changed: [dns1]
- TASK [common : Add search pattern to resolvconf configuration] ***********************************************************************************************************************
- changed: [osd3]
- changed: [admin1]
- changed: [mon1]
- changed: [osd1]
- changed: [osd2]
- changed: [mon2]
- changed: [client2]
- changed: [mon3]
- changed: [client1]
- changed: [dns1]
- RUNNING HANDLER [common : restart resolvconf] ****************************************************************************************************************************************
- changed: [osd3]
- changed: [mon1]
- changed: [admin1]
- changed: [osd1]
- changed: [osd2]
- changed: [mon3]
- changed: [mon2]
- changed: [client1]
- changed: [client2]
- changed: [dns1]
- PLAY [dns] ***************************************************************************************************************************************************************************
- TASK [Gathering Facts] ***************************************************************************************************************************************************************
- ok: [dns1]
- TASK [dns : Ensure bind9 is installed] ***********************************************************************************************************************************************
- changed: [dns1]
- TASK [dns : Copy named.conf.options file] ********************************************************************************************************************************************
- changed: [dns1]
- TASK [dns : Copy named.conf.local file] **********************************************************************************************************************************************
- changed: [dns1]
- TASK [dns : Copy db.example.com zone using template] *********************************************************************************************************************************
- changed: [dns1]
- RUNNING HANDLER [dns : restart bind9] ************************************************************************************************************************************************
- changed: [dns1]
- PLAY [admin:osd:mon:client] **********************************************************************************************************************************************************
- TASK [Gathering Facts] ***************************************************************************************************************************************************************
- ok: [admin1]
- ok: [osd2]
- ok: [osd3]
- ok: [osd1]
- ok: [mon1]
- ok: [client2]
- ok: [mon2]
- ok: [mon3]
- ok: [client1]
- TASK [ceph : Create cephuser user] ***************************************************************************************************************************************************
- changed: [admin1]
- changed: [osd1]
- changed: [osd3]
- changed: [osd2]
- changed: [mon1]
- changed: [mon3]
- changed: [client1]
- changed: [client2]
- changed: [mon2]
- TASK [ceph : Allow cephuser to execute sudo commands without password] ***************************************************************************************************************
- changed: [osd1]
- changed: [osd3]
- changed: [mon1]
- changed: [osd2]
- changed: [admin1]
- changed: [mon2]
- changed: [mon3]
- changed: [client1]
- changed: [client2]
- TASK [ceph : Create .ssh structure] **************************************************************************************************************************************************
- changed: [admin1]
- changed: [mon1]
- changed: [osd3]
- changed: [osd1]
- changed: [osd2]
- changed: [mon3]
- changed: [mon2]
- changed: [client1]
- changed: [client2]
- TASK [ceph : Copy ansible_rsa private key] *******************************************************************************************************************************************
- changed: [osd2]
- changed: [admin1]
- changed: [mon1]
- changed: [osd1]
- changed: [osd3]
- changed: [mon2]
- changed: [client2]
- changed: [client1]
- changed: [mon3]
- TASK [ceph : Copy ansible_rsa public key] ********************************************************************************************************************************************
- changed: [mon1]
- changed: [admin1]
- changed: [osd2]
- changed: [osd3]
- changed: [osd1]
- changed: [client1]
- changed: [mon3]
- changed: [mon2]
- changed: [client2]
- TASK [ceph : Copy authorized_keys file] **********************************************************************************************************************************************
- changed: [osd1]
- changed: [mon1]
- changed: [osd3]
- changed: [osd2]
- changed: [admin1]
- changed: [mon2]
- changed: [mon3]
- changed: [client1]
- changed: [client2]
- TASK [ceph : Check if known_hosts file exists] ***************************************************************************************************************************************
- ok: [admin1]
- ok: [mon1]
- ok: [osd3]
- ok: [osd1]
- ok: [osd2]
- ok: [mon2]
- ok: [mon3]
- ok: [client1]
- ok: [client2]
- TASK [ceph : Scan and add SSH keys of the machines to known_hosts file] **************************************************************************************************************
- changed: [osd2] => (item=admin)
- changed: [osd1] => (item=admin)
- changed: [admin1] => (item=admin)
- changed: [mon1] => (item=admin)
- changed: [osd3] => (item=admin)
- changed: [osd2] => (item=osd1)
- changed: [mon1] => (item=osd1)
- changed: [osd3] => (item=osd1)
- changed: [admin1] => (item=osd1)
- changed: [osd1] => (item=osd1)
- changed: [osd2] => (item=osd2)
- changed: [mon1] => (item=osd2)
- changed: [osd3] => (item=osd2)
- changed: [admin1] => (item=osd2)
- changed: [osd1] => (item=osd2)
- changed: [mon1] => (item=osd3)
- changed: [admin1] => (item=osd3)
- changed: [osd2] => (item=osd3)
- changed: [osd3] => (item=osd3)
- changed: [osd1] => (item=osd3)
- changed: [admin1] => (item=mon1)
- changed: [osd2] => (item=mon1)
- changed: [mon1] => (item=mon1)
- changed: [osd1] => (item=mon1)
- changed: [osd3] => (item=mon1)
- changed: [osd2] => (item=mon2)
- changed: [admin1] => (item=mon2)
- changed: [mon1] => (item=mon2)
- changed: [osd1] => (item=mon2)
- changed: [osd3] => (item=mon2)
- changed: [mon1] => (item=mon3)
- changed: [osd2] => (item=mon3)
- changed: [admin1] => (item=mon3)
- changed: [osd1] => (item=mon3)
- changed: [osd3] => (item=mon3)
- changed: [mon1] => (item=client1)
- changed: [osd2] => (item=client1)
- changed: [admin1] => (item=client1)
- changed: [osd3] => (item=client1)
- changed: [osd1] => (item=client1)
- changed: [mon1] => (item=client2)
- changed: [osd2] => (item=client2)
- changed: [osd3] => (item=client2)
- changed: [osd1] => (item=client2)
- changed: [admin1] => (item=client2)
- changed: [mon2] => (item=admin)
- changed: [mon3] => (item=admin)
- changed: [client2] => (item=admin)
- changed: [client1] => (item=admin)
- changed: [mon2] => (item=osd1)
- changed: [client1] => (item=osd1)
- changed: [mon3] => (item=osd1)
- changed: [client2] => (item=osd1)
- changed: [mon2] => (item=osd2)
- changed: [mon3] => (item=osd2)
- changed: [client1] => (item=osd2)
- changed: [client2] => (item=osd2)
- changed: [mon2] => (item=osd3)
- changed: [client1] => (item=osd3)
- changed: [mon3] => (item=osd3)
- changed: [client2] => (item=osd3)
- changed: [mon2] => (item=mon1)
- changed: [client1] => (item=mon1)
- changed: [mon3] => (item=mon1)
- changed: [client2] => (item=mon1)
- changed: [mon2] => (item=mon2)
- changed: [client1] => (item=mon2)
- changed: [mon3] => (item=mon2)
- changed: [client2] => (item=mon2)
- changed: [mon2] => (item=mon3)
- changed: [client1] => (item=mon3)
- changed: [mon3] => (item=mon3)
- changed: [client2] => (item=mon3)
- changed: [mon2] => (item=client1)
- changed: [mon3] => (item=client1)
- changed: [client1] => (item=client1)
- changed: [client2] => (item=client1)
- changed: [mon2] => (item=client2)
- changed: [mon3] => (item=client2)
- changed: [client1] => (item=client2)
- changed: [client2] => (item=client2)
- TASK [ceph : Change known_hosts file owner] ******************************************************************************************************************************************
- changed: [admin1]
- changed: [osd1]
- changed: [mon1]
- changed: [osd3]
- changed: [osd2]
- changed: [mon3]
- changed: [mon2]
- changed: [client1]
- changed: [client2]
- TASK [ceph : Add Ceph apt key] *******************************************************************************************************************************************************
- changed: [admin1]
- changed: [osd2]
- changed: [mon1]
- changed: [osd1]
- changed: [osd3]
- changed: [mon3]
- changed: [client1]
- changed: [mon2]
- changed: [client2]
- TASK [ceph : Add Ceph repository] ****************************************************************************************************************************************************
- changed: [osd1]
- changed: [osd2]
- changed: [admin1]
- changed: [osd3]
- changed: [mon1]
- changed: [mon2]
- changed: [mon3]
- changed: [client1]
- changed: [client2]
- TASK [ceph : Ensure needed packages are installed] ***********************************************************************************************************************************
- changed: [mon1]
- changed: [mon2]
- changed: [osd2]
- changed: [osd3]
- changed: [osd1]
- changed: [mon3]
- changed: [admin1]
- changed: [client1]
- changed: [client2]
- PLAY RECAP ***************************************************************************************************************************************************************************
- admin1 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- client1 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- client2 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- dns1 : ok=16 changed=14 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- mon1 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- mon2 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- mon3 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- osd1 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- osd2 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- osd3 : ok=23 changed=20 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Add Comment
Please, Sign In to add comment