This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
services:ceph-cm-ansible [2016/07/13 23:03] dgalloway [Setting up a brand new infra host] |
services:ceph-cm-ansible [2016/08/30 20:44] (current) dgalloway [Setting up a brand new infra host] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ===== Common tasks ===== | ===== Common tasks ===== | ||
| ==== Setting up a brand new infra host ==== | ==== Setting up a brand new infra host ==== | ||
| - | To configure sudoers and users on a new infra host installation, set a password for the root or ubuntu user during install. Then... | + | To configure sudoers and users on a new infra host installation, |
| - | + | - Set a password for the root or ubuntu user during install | |
| - | <code> | + | - Add to the **[production]** group in ceph-sepia-secrets |
| + | - Run <code> | ||
| ansible-playbook -k -K --extra-vars '{ansible_ssh_user: root|ubuntu}' --ssh-extra-args="-o PubkeyAuthentication=no -o PasswordAuthentication=yes" ansible_managed.yml --limit="$NEWHOST.front.sepia.ceph.com" | ansible-playbook -k -K --extra-vars '{ansible_ssh_user: root|ubuntu}' --ssh-extra-args="-o PubkeyAuthentication=no -o PasswordAuthentication=yes" ansible_managed.yml --limit="$NEWHOST.front.sepia.ceph.com" | ||