diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-02-15 12:19:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 12:19:54 -0500 |
commit | 34f13cb87db9e18285281d7ec48c7d116f99a1fb (patch) | |
tree | 205eb2a4977b020fdd8f6df5ae55bfb0e36f663a /roles/openshift_facts | |
parent | 67b714641c9d813290712f6b0cbd176432ca3225 (diff) | |
parent | 4e9a9d0e3da2b9b74a7bf69110af42f1f276dffe (diff) | |
download | openshift-34f13cb87db9e18285281d7ec48c7d116f99a1fb.tar.gz openshift-34f13cb87db9e18285281d7ec48c7d116f99a1fb.tar.bz2 openshift-34f13cb87db9e18285281d7ec48c7d116f99a1fb.tar.xz openshift-34f13cb87db9e18285281d7ec48c7d116f99a1fb.zip |
Merge pull request #3364 from detiber/lintCleanup
Ansible Lint cleanup and making filter/lookup plugins used by openshift_master_facts available within the role
Diffstat (limited to 'roles/openshift_facts')
-rw-r--r-- | roles/openshift_facts/tasks/main.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml index 11bd68207..7eb879140 100644 --- a/roles/openshift_facts/tasks/main.yml +++ b/roles/openshift_facts/tasks/main.yml @@ -6,9 +6,11 @@ register: ostree_booted # Locally setup containerized facts for now - - set_fact: + - name: Set l_is_atomic + set_fact: l_is_atomic: "{{ ostree_booted.stat.exists }}" - - set_fact: + - name: Set other local variables + set_fact: l_is_containerized: "{{ (l_is_atomic | bool) or (containerized | default(false) | bool) }}" l_is_openvswitch_system_container: "{{ (use_openvswitch_system_container | default(use_system_containers) | bool) }}" l_is_node_system_container: "{{ (use_node_system_container | default(use_system_containers) | bool) }}" |