Skip to content
Snippets Groups Projects
Commit 990da834 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

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.
parent c7850740
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,9 @@ ...@@ -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 @@ ...@@ -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 }}"
ipaclient_package: python2-ipaclient ipaclient_packages: [ "ipa-client", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2' ansible_python_interpreter: '/usr/bin/python2'
\ No newline at end of file
ipaclient_package: python2-ipaclient ipaclient_packages: [ "ipa-client", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2' ansible_python_interpreter: '/usr/bin/python2'
\ No newline at end of file
# defaults file for ipaclient
# vars/rhel.yml
ipaclient_packages: [ "ipa-client", "ipa-admintools", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2'
# 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'
# 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'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment