|
@@ -13,20 +13,16 @@
|
|
|
# limitations under the License.
|
|
|
---
|
|
|
|
|
|
-- name: Include variables
|
|
|
- include_vars: ../../login_common/vars/main.yml
|
|
|
- when:
|
|
|
- - hostvars['127.0.0.1']['login_node_required']
|
|
|
- - not hostvars['127.0.0.1']['ipa_server_ms']
|
|
|
+- name: Include login_common variables
|
|
|
+ include_vars: "{{ playbook_dir }}/roles/login_common/vars/main.yml"
|
|
|
|
|
|
-- name: Install required packages
|
|
|
- include_tasks: install_packages.yml
|
|
|
- when:
|
|
|
- - hostvars['127.0.0.1']['login_node_required']
|
|
|
- - not hostvars['127.0.0.1']['ipa_server_ms']
|
|
|
+- block:
|
|
|
+ - name: Install required packages
|
|
|
+ include_tasks: install_packages.yml
|
|
|
|
|
|
-- name: Install free-ipa server
|
|
|
- include_tasks: install_ipa_server.yml
|
|
|
+ - name: Install free-ipa server
|
|
|
+ include_tasks: install_ipa_server.yml
|
|
|
when:
|
|
|
+ - os_leap not in ansible_distribution | lower
|
|
|
- hostvars['127.0.0.1']['login_node_required']
|
|
|
- not hostvars['127.0.0.1']['ipa_server_ms']
|