Ansible updates for Atomic.

pull/6/head
Avesh Agarwal 2015-07-24 18:29:55 -04:00
parent 0b14613361
commit 0d4851a4ef
11 changed files with 14 additions and 15 deletions

View File

@ -1,4 +1,4 @@
---
- name: Fedora | Remove docker window manager on F20
yum: pkg=docker state=absent
when: not is_atomic and ansible_distribution_major_version == "20"
when: ansible_distribution_major_version == "20"

View File

@ -7,6 +7,7 @@
with_items:
- openssl
- curl
when: not is_atomic
#- name: Get create ca cert script from Kubernetes
# get_url:

View File

@ -1,4 +1,9 @@
---
- name: Set fact for Atomic Host package install
set_fact:
did_install: true
when: is_atomic
- include: pkgMgrInstallers/centos-install.yml
when: ansible_distribution == "CentOS"

View File

@ -6,4 +6,3 @@
enablerepo=virt7-docker-common-candidate
notify:
- restart daemons
when: not is_atomic

View File

@ -6,4 +6,3 @@
enablerepo: "updates-testing"
notify:
- restart daemons
when: not is_atomic

View File

@ -5,4 +5,3 @@
state: latest
notify:
- restart daemons
when: not is_atomic

View File

@ -1,13 +1,7 @@
---
- name: Check if selinux enforcing
command: getenforce
register: selinux
changed_when: false
when: ansible_selinux
- name: Set selinux permissive because tokens and selinux don't work together
selinux: state=permissive policy=targeted
when: ansible_selinux and 'Enforcing' in selinux.stdout
selinux: state=permissive policy={{ ansible_selinux.type }}
when: ansible_selinux is defined and ansible_selinux.status == "enabled"
- include: packageManagerInstall.yml
when: source_type == "packageManager"

View File

@ -1,4 +1,9 @@
---
- name: Set fact for Atomic Host package install
set_fact:
did_install: true
when: is_atomic
- include: pkgMgrInstallers/centos-install.yml
when: ansible_distribution == "CentOS"

View File

@ -6,4 +6,3 @@
enablerepo=virt7-docker-common-candidate
notify:
- restart daemons
when: not is_atomic

View File

@ -6,4 +6,3 @@
enablerepo: "updates-testing"
notify:
- restart daemons
when: not is_atomic

View File

@ -5,4 +5,3 @@
state: latest
notify:
- restart daemons
when: not is_atomic