doc/researchAnsible: updated due to enhancement of adding variable target

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-08-21 16:50:36 +02:00
parent d2ce20787d
commit 7937b4bac7
1 changed files with 15 additions and 0 deletions

View File

@ -1444,6 +1444,21 @@ After synchronizing the AWX project *NWL CI* the new job template is added:
So far everything worked fine.
Now, we have two open points with that state:
#. Adding this target variable to all other job templates
* In our case we add the variable for all other jobs as ``target: "10.115.101.101"``
#. Adapting all the playbooks for running the tasks on the host defined by this variable
.. code-block:: bash
- hosts: linux
+ hosts: "{{ target }}"
A rough test of the job templates *Clone CI Repo*, *Build Docker Image* and *Start-Stop CI Instance* succeeded.
Getting Plugins Versions and Available Updates
**********************************************