diff --git a/docs/3._Knowledge_Center/03_how_to/17_ansible.md b/docs/3._Knowledge_Center/03_how_to/17_ansible.md index d98b4986..8a1726d6 100644 --- a/docs/3._Knowledge_Center/03_how_to/17_ansible.md +++ b/docs/3._Knowledge_Center/03_how_to/17_ansible.md @@ -15,7 +15,7 @@ To automate a task you keep doing by hand on several Controls machines, write it ## Why Rundeck -- **Everyone in Controls can run an action without knowing anything about it.** Whoever starts it picks the action and the hosts. They do not need to know Ansible or the playbook behind it. +- **Everyone in Controls can run an action without knowing anything about it.** Rundeck is the interface that you, as the developer, offer to Controls and to Pikett for interacting with your system. Whoever starts an action picks it and the hosts. They do not need to know Ansible or the playbook behind it. - **Automation for Pikett.** A procedure that on-call staff need becomes an action they start, instead of instructions they follow by hand ([Pikett access and support](../../2._Services_Portfolio/Services/02_computingandboot.md#pikett-access-and-support)). - **One central place to see everything that is done on hosts.** Every run is recorded: who started which action, on which hosts, when, and how it ended. @@ -28,7 +28,7 @@ How the instance works is explained in [Rundeck: Running Tasks on Hosts](../02_e | Write and test | Ansible is installed on all Controls machines; you run playbooks as yourself | | | Catalogue | `catalog.yaml` in `cas_infrastructure`, 11 actions; a new action is a pull request reviewed by Controls IT | A staging and canary step for catalogue changes | | Into Rundeck | Whoever merges runs `configure_rundeck.yml` by hand | A merge pipeline that imports the jobs | -| Who runs actions | Controls IT, through `cas` on cas-ansible-00 | One pilot expert group, then all expert groups, on their own hosts, with their Kerberos login | +| Who runs actions | Everyone in Controls, in Rundeck; from the command line, Controls IT through `cas` on cas-ansible-00 | Expert groups from other groups: one pilot group first, then all, on their own hosts, with their Kerberos login | | Login on the hosts | One shared account, `cas-ansible`, on hosts with the Puppet class `cas_access` | Per-user SSH certificates | ## Ansible or Puppet? @@ -224,7 +224,7 @@ It copies the checkout to `/opt/cas_infrastructure` on cas-ansible-00, generates ### Run it -Today on cas-ansible-00, as a member of `cas-operators` (`sudo cas …`), with `cas` pointed at Rundeck ([using it](../02_explanations/04_rundeck.md#using-it)): +Everyone in Controls can start the action in Rundeck: open the job `cas/` in the project `cas`, fill in the hosts and the parameters, and run it. From the command line, today on cas-ansible-00 as a member of `cas-operators` (`sudo cas …`), with `cas` pointed at Rundeck ([using it](../02_explanations/04_rundeck.md#using-it)): cas catalog show service.restart cas run service.restart --on --param unit=myapp.service --check --follow @@ -238,7 +238,7 @@ Check that it worked: the job log starts with the Rundeck execution number and a |---|---|---| | Propose an action | Anyone with access to `cas_infrastructure`, by pull request | | | Review, merge, import into Rundeck | Controls IT | Import by a merge pipeline | -| Run actions | Members of `cas-operators` on cas-ansible-00, through `sudo cas` | Expert groups through `cas` and the planned web hub, each on its own hosts, decided by LDAP and Unix groups ([who uses it](../02_explanations/04_rundeck.md#who-uses-it)) | +| Run actions | Everyone in Controls, including Pikett, in Rundeck. From the command line: members of `cas-operators` on cas-ansible-00, through `sudo cas` | Expert groups through `cas` and the planned web hub, each on its own hosts, decided by LDAP and Unix groups ([who uses it](../02_explanations/04_rundeck.md#who-uses-it)) | ## 5. Keep it healthy