ipaclient vars: Renamed ipaclient_package to ipaclient_packages

The rename was needed to be able to have more than one package in the list
of required packages.

For RHEL-7.3 it has been needed to add ipa-admintools to have /usr/bin/ipa
available. libselinux-python has been added for all.
This commit is contained in:
Thomas Woerner
2017-10-04 17:22:40 +02:00
parent c78507409c
commit 990da8341f
7 changed files with 12 additions and 7 deletions

View File

@@ -3,8 +3,9 @@
- name: Install - Install IPA client package
package:
name: "{{ ipaclient_package }}"
name: "{{ item }}"
state: present
with_items: "{{ ipaclient_packages }}"
- name: Install - IPA discovery
ipadiscovery:

View File

@@ -7,5 +7,6 @@
#- name: Remove IPA client package
# package:
# name: "{{ ipaclient_package }}"
# name: "{{ item }}"
# state: absent
# with_items: "{{ ipaclient_packages }}"

View File

@@ -1,2 +1,2 @@
ipaclient_package: python2-ipaclient
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2'

View File

@@ -1,2 +1,2 @@
ipaclient_package: python2-ipaclient
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2'

View File

@@ -0,0 +1,4 @@
# defaults file for ipaclient
# vars/rhel.yml
ipaclient_packages: [ "ipa-client", "ipa-admintools", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2'

View File

@@ -1,5 +1,4 @@
# defaults file for ipaclient
# vars/rhel.yml
ipaclient_package: ipa-client
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2'

View File

@@ -1,4 +1,4 @@
# defaults file for ipaclient
# vars/default.yml
ipaclient_package: python3-ipaclient
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python3'