This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
services:ceph-cm-ansible [2016/07/13 21:02] dgalloway |
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 |
| - | 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" | + | - 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" | ||
| #Enter password when prompted | #Enter password when prompted | ||