From 73bed60bdb7fa85426e6276d66526da6b4a28f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Tue, 9 Apr 2024 10:55:33 +0200 Subject: [PATCH] Update 2 files - /site.yml - /roles/ansible_slub_awxdemo01/tasks/main.yml --- roles/ansible_slub_awxdemo01/tasks/main.yml | 3 +++ site.yml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/roles/ansible_slub_awxdemo01/tasks/main.yml b/roles/ansible_slub_awxdemo01/tasks/main.yml index 24abd0d..ff86d3d 100644 --- a/roles/ansible_slub_awxdemo01/tasks/main.yml +++ b/roles/ansible_slub_awxdemo01/tasks/main.yml @@ -8,3 +8,6 @@ - debug: var: pong + +- debug: + msg: "TEST" \ No newline at end of file diff --git a/site.yml b/site.yml index 6138c98..3787543 100644 --- a/site.yml +++ b/site.yml @@ -23,14 +23,14 @@ # execution strategy, possible values: debug, linear, serial, free (https://docs.ansible.com/ansible/latest/user_guide/playbooks_strategies.html) strategy: linear - #roles: - # - { role: ansible_slub_awxdemo01, become: true } + roles: + - { role: ansible_slub_awxdemo01, become: true } # tasks for ansible_slub_awxdemo01 - tasks: - - assert: {that: "ansible_os_family != 'RedHat'"} +# tasks: +# - assert: {that: "ansible_os_family != 'RedHat'"} - - ping: - register: pong +# - ping: +# register: pong - - debug: - var: pong +# - debug: +# var: pong -- GitLab