Marc Mattmüller
d2ce20787d
playbooks: updated hosts with target variable
...
the playbooks shall only run on the hosts provided by the variable
target.
NOTE: the default target is set within the job templates
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-08-21 16:34:44 +02:00
Marc Mattmüller
35e28eb1a3
playbooks/clone-repo: added condition when repo is already cloned
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 12:37:48 +02:00
Marc Mattmüller
8b56069a38
playbooks/clone-repo: refactored the playbook
...
removed the logs to increase the security
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 11:30:00 +02:00
Marc Mattmüller
15732a2cf7
playbooks/clone-repo: fixed repo url (forgotten during refactoring)
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 11:14:09 +02:00
Marc Mattmüller
14b51efb5d
playbooks/clone-repo: 1 task for cloning, checking out and updating
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 10:58:33 +02:00
Marc Mattmüller
0b66f54f97
playbooks/clone-repo: changed creating auto ssh add file and its path
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 10:50:47 +02:00
Marc Mattmüller
fcceaca96e
playbooks/clone-repo: make auto ssh add file executable
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 10:43:05 +02:00
Marc Mattmüller
2438809884
playbooks/clone-repo: using shell commands to clone repo
...
by using shell commands we have more flexibility to clone the repo
using specific ssh keys.
Additionally we provide the passphrase for the ssh key using the
AXW vault.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 10:33:20 +02:00
Marc Mattmüller
4d9f64f3dc
playbooks/clone-repo: replaces ip with name of bitbucket
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-13 08:06:49 +02:00
Marc Mattmüller
565493b9de
playbook/clone-repo: replaced bitbucket name with ip
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-22 16:09:42 +02:00
Marc Mattmüller
8837554aba
playbooks/clone-repo: removed prompting but added std output
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-22 11:06:50 +02:00
Marc Mattmüller
bce9b6c45f
playbooks/clone-repo: fixed indentation
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-22 10:59:28 +02:00
Marc Mattmüller
470a77f787
playbooks/clone-repo: added missing syntax element for prompting
...
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-22 10:53:34 +02:00
Marc Mattmüller
850396ebc3
playbooks: added playbook to clone a repository
...
the repository url shall be prompted to keep it more flexible.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-22 10:38:11 +02:00