mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-23 17:24:52 +00:00
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:
@@ -3,8 +3,9 @@
|
|||||||
|
|
||||||
- name: Install - Install IPA client package
|
- name: Install - Install IPA client package
|
||||||
package:
|
package:
|
||||||
name: "{{ ipaclient_package }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
with_items: "{{ ipaclient_packages }}"
|
||||||
|
|
||||||
- name: Install - IPA discovery
|
- name: Install - IPA discovery
|
||||||
ipadiscovery:
|
ipadiscovery:
|
||||||
|
|||||||
@@ -7,5 +7,6 @@
|
|||||||
|
|
||||||
#- name: Remove IPA client package
|
#- name: Remove IPA client package
|
||||||
# package:
|
# package:
|
||||||
# name: "{{ ipaclient_package }}"
|
# name: "{{ item }}"
|
||||||
# state: absent
|
# state: absent
|
||||||
|
# with_items: "{{ ipaclient_packages }}"
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
ipaclient_package: python2-ipaclient
|
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||||
ansible_python_interpreter: '/usr/bin/python2'
|
ansible_python_interpreter: '/usr/bin/python2'
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
ipaclient_package: python2-ipaclient
|
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||||
ansible_python_interpreter: '/usr/bin/python2'
|
ansible_python_interpreter: '/usr/bin/python2'
|
||||||
4
roles/ipaclient/vars/RedHat-7.3.yml
Normal file
4
roles/ipaclient/vars/RedHat-7.3.yml
Normal 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'
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
# defaults file for ipaclient
|
# defaults file for ipaclient
|
||||||
# vars/rhel.yml
|
# vars/rhel.yml
|
||||||
ipaclient_package: ipa-client
|
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||||
ansible_python_interpreter: '/usr/bin/python2'
|
ansible_python_interpreter: '/usr/bin/python2'
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# defaults file for ipaclient
|
# defaults file for ipaclient
|
||||||
# vars/default.yml
|
# vars/default.yml
|
||||||
ipaclient_package: python3-ipaclient
|
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||||
ansible_python_interpreter: '/usr/bin/python3'
|
ansible_python_interpreter: '/usr/bin/python3'
|
||||||
|
|||||||
Reference in New Issue
Block a user