User Tools

Site Tools


services:ceph-cm-ansible

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
services:ceph-cm-ansible [2016/06/29 20:49] – created dgallowayservices:ceph-cm-ansible [2016/08/30 20:44] (current) – [Setting up a brand new infra host] dgalloway
Line 6: Line 6:
  
 Most information one would need is in the READMEs of [[https://github.com/ceph/ceph-cm-ansible/blob/master/README.rst|ceph-cm-ansible]] and [[https://github.com/ceph/ceph-sepia-secrets/blob/master/README.rst|ceph-sepia-secrets]].  Go there for more details. Most information one would need is in the READMEs of [[https://github.com/ceph/ceph-cm-ansible/blob/master/README.rst|ceph-cm-ansible]] and [[https://github.com/ceph/ceph-sepia-secrets/blob/master/README.rst|ceph-sepia-secrets]].  Go there for more details.
 +
 +===== Common tasks =====
 +==== 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
 +  - 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"
 +
 +#Enter password when prompted
 +
 +ansible-playbook -b users.yml --limit="$NEWHOST.front.sepia.ceph.com"
 +</code>
services/ceph-cm-ansible.1467233369.txt.gz · Last modified: by dgalloway