diff --git a/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 b/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 index 24e502bb..df08d332 100644 --- a/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 +++ b/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 @@ -1,7 +1,7 @@ #jinja2: trim_blocks: True, lstrip_blocks: True --- - name: Cluster Installation - hosts: all + hosts: kubernetes become: true gather_facts: true any_errors_fatal: true diff --git a/bootstrap/templates/ansible/playbooks/cluster-nuke.yaml.j2 b/bootstrap/templates/ansible/playbooks/cluster-nuke.yaml.j2 index 4400269e..3df6523a 100644 --- a/bootstrap/templates/ansible/playbooks/cluster-nuke.yaml.j2 +++ b/bootstrap/templates/ansible/playbooks/cluster-nuke.yaml.j2 @@ -1,6 +1,6 @@ --- - name: Cluster Nuke - hosts: all + hosts: kubernetes become: true gather_facts: true any_errors_fatal: true diff --git a/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 b/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 index 1066dd3b..c4ed35b0 100644 --- a/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 +++ b/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 @@ -1,6 +1,6 @@ --- - name: Prepare System - hosts: all + hosts: kubernetes become: true gather_facts: true any_errors_fatal: true diff --git a/bootstrap/templates/ansible/playbooks/cluster-reboot.yaml.j2 b/bootstrap/templates/ansible/playbooks/cluster-reboot.yaml.j2 index 4adcfe43..07ae62a8 100644 --- a/bootstrap/templates/ansible/playbooks/cluster-reboot.yaml.j2 +++ b/bootstrap/templates/ansible/playbooks/cluster-reboot.yaml.j2 @@ -1,6 +1,6 @@ --- - name: Reboot - hosts: all + hosts: kubernetes become: true gather_facts: true any_errors_fatal: true diff --git a/bootstrap/templates/ansible/playbooks/cluster-rollout-update.yaml.j2 b/bootstrap/templates/ansible/playbooks/cluster-rollout-update.yaml.j2 index 8791e51c..0ea30050 100644 --- a/bootstrap/templates/ansible/playbooks/cluster-rollout-update.yaml.j2 +++ b/bootstrap/templates/ansible/playbooks/cluster-rollout-update.yaml.j2 @@ -1,7 +1,7 @@ --- # https://github.com/kevincoakley/ansible-role-k8s-rolling-update - name: Cluster rollout update - hosts: all + hosts: kubernetes become: true gather_facts: true any_errors_fatal: true