Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Issue #5: Add privileged context to task container - at least for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Nov 18, 2019
1 parent 598482b commit 4712c6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions molecule/test-local/playbook.yml
Expand Up @@ -72,7 +72,7 @@
namespace: '{{ custom_resource.metadata.namespace }}'
definition: '{{ custom_resource }}'

- name: Wait 5m for reconciliation to run
- name: Wait 15m for reconciliation to run
k8s_info:
api_version: '{{ custom_resource.apiVersion }}'
kind: '{{ custom_resource.kind }}'
Expand All @@ -82,7 +82,7 @@
until:
- "'Successful' in (cr | json_query('resources[].status.conditions[].reason'))"
delay: 6
retries: 50
retries: 150

rescue:

Expand Down
4 changes: 2 additions & 2 deletions molecule/test-minikube/playbook.yml
Expand Up @@ -78,7 +78,7 @@
namespace: '{{ custom_resource.metadata.namespace }}'
definition: '{{ custom_resource }}'

- name: Wait 5m for reconciliation to run
- name: Wait 15m for reconciliation to run
k8s_info:
api_version: '{{ custom_resource.apiVersion }}'
kind: '{{ custom_resource.kind }}'
Expand All @@ -88,7 +88,7 @@
until:
- "'Successful' in (cr | json_query('resources[].status.conditions[].reason'))"
delay: 6
retries: 50
retries: 150

rescue:

Expand Down
2 changes: 2 additions & 0 deletions roles/tower/templates/tower_task.yaml.j2
Expand Up @@ -20,6 +20,8 @@ spec:
containers:
- image: '{{ tower_task_image }}'
name: tower-task
securityContext:
privileged: true
command:
- /usr/bin/launch_awx_task.sh
envFrom:
Expand Down

0 comments on commit 4712c6a

Please sign in to comment.