aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jumpcloud/tasks
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2022-02-01 22:28:06 +0100
committerGravatar Joe Banks <[email protected]>2022-02-05 14:31:37 +0000
commit761a8e124e84a82bd2272228cbff2a1260456f51 (patch)
treeb6f7c3138498e05ec2c679a1e34ee9657f3d8848 /roles/jumpcloud/tasks
parentEpand entire dict when adding psql users and databases (diff)
Add podman role and improve playbook organization
This PR adds a new podman role, see #18. The playbook is merged into sections for each group of hosts that we want to deploy to. To limit by role now, use tags, such as `-t role::podman`.
Diffstat (limited to 'roles/jumpcloud/tasks')
-rw-r--r--roles/jumpcloud/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/jumpcloud/tasks/main.yml b/roles/jumpcloud/tasks/main.yml
index 6dda981..6630f53 100644
--- a/roles/jumpcloud/tasks/main.yml
+++ b/roles/jumpcloud/tasks/main.yml
@@ -1,5 +1,7 @@
- name: Fetch service facts
service_facts:
+ tags:
+ - role::jumpcloud
- name: Check if JumpCloud service is installed
set_fact:
@@ -13,9 +15,13 @@
return_content: true
register: jc_install_script
when: not jumpcloud_installed
+ tags:
+ - role::jumpcloud
- name: Execute JumpCloud install script
command: sh -s -- -y
args:
stdin: "{{ jc_install_script.content }}"
when: not jumpcloud_installed
+ tags:
+ - role::jumpcloud