From 2bfec0265dde023552369c9342bdd16fe408dfda Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 15 Jul 2024 18:06:10 +0200 Subject: [PATCH 01/72] tag und dep --- .woodpecker/ansible-playbook.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index 567400be..d10de60a 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -4,15 +4,12 @@ depends_on: steps: ansible-playbook: - image: quay.io/ansible/creator-ee:v24.2.0 + image: registry.mgrote.net/ansible-image:master commands: # Secrets - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" - echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung - chmod 0400 ./id_ed25519 - # Abhängigkeiten - - pip install 'pykeepass==4.0.3' --user - - ansible-galaxy install -r requirements.yaml # Debug - ansible localhost -m debug -a "var={{ lookup('viczem.keepass.keepass', 'restic_repository_password', 'password') }}" # Doing -- 2.43.0 From a261a8087d56f1eb571593afd3e874629e5c4707 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 15 Jul 2024 18:07:08 +0200 Subject: [PATCH 02/72] disable linter --- .woodpecker/ansible-playbook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index d10de60a..8a8509bd 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -1,6 +1,6 @@ --- -depends_on: - - ansible-lint +#depends_on: +# - ansible-lint steps: ansible-playbook: -- 2.43.0 From 387107ba999bb4a53124ac8328019f39247a8d55 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 15 Jul 2024 18:07:57 +0200 Subject: [PATCH 03/72] ff --- .woodpecker/ansible-playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index 8a8509bd..19028bf0 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -18,5 +18,5 @@ steps: secrets: [vaultpass, sshkey] when: - event: [push, pull_request_closed] - branch: master + branch: image # master ... -- 2.43.0 From c51598424efa044dfa20ec296eb18b3bd24265fd Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 15 Jul 2024 18:09:00 +0200 Subject: [PATCH 04/72] deraktivire linter 2 --- .woodpecker/{ansible-lint.yml => ansible-lint.yml.old} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .woodpecker/{ansible-lint.yml => ansible-lint.yml.old} (100%) diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml.old similarity index 100% rename from .woodpecker/ansible-lint.yml rename to .woodpecker/ansible-lint.yml.old -- 2.43.0 From 49f9615205610012e15860b3792919e65973d0e2 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 15 Jul 2024 18:42:19 +0200 Subject: [PATCH 05/72] v --- .woodpecker/ansible-playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index 19028bf0..222ec33b 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -4,7 +4,7 @@ steps: ansible-playbook: - image: registry.mgrote.net/ansible-image:master + image: registry.mgrote.net/ansible-image:v1.0.31 commands: # Secrets - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" -- 2.43.0 From 9cb80e8ca0188203bad1b1c4571991bf40c27e36 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 15 Jul 2024 18:47:24 +0200 Subject: [PATCH 06/72] ff --- ansible.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 4698c848..5f4347ea 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,7 +3,6 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False roles_path = ./roles -lookup_plugins = ./plugins/lookup collections_path = ./collections private_key_file = ./id_ed25519 vault_password_file = vault-pass.yml -- 2.43.0 From e7a967bb004933051213b1ea3ef1b02404f152f7 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 15 Jul 2024 18:55:29 +0200 Subject: [PATCH 07/72] ff --- .woodpecker/ansible-playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index 222ec33b..19028bf0 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -4,7 +4,7 @@ steps: ansible-playbook: - image: registry.mgrote.net/ansible-image:v1.0.31 + image: registry.mgrote.net/ansible-image:master commands: # Secrets - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" -- 2.43.0 From 93385a84bd396ead57ca712cc90a9bae262846a7 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 21:35:35 +0200 Subject: [PATCH 08/72] ff --- .gitignore | 2 +- .woodpecker/ansible-playbook.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fbfd6d7e..c9297a1e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ .git/ -vault-pass.yml +vault-pass id_ed25519 id_ed25519.pub roles/ansible-role-pip diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index 19028bf0..e7fcc544 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -8,7 +8,7 @@ steps: commands: # Secrets - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" - - echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung + - echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung - chmod 0400 ./id_ed25519 # Debug - ansible localhost -m debug -a "var={{ lookup('viczem.keepass.keepass', 'restic_repository_password', 'password') }}" -- 2.43.0 From e413e06a52e7a142b91a23efcf4d68c83743ad0a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 21:46:00 +0200 Subject: [PATCH 09/72] dd --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 5f4347ea..e000f080 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -5,7 +5,7 @@ retry_files_enabled = False roles_path = ./roles collections_path = ./collections private_key_file = ./id_ed25519 -vault_password_file = vault-pass.yml +vault_password_file = vault-pass gathering = smart [diff] always = true -- 2.43.0 From 9b36b2e7b19132578dbe809e5ef3dfc0c80fc023 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 21:50:53 +0200 Subject: [PATCH 10/72] ff --- ansible.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index e000f080..96bfb49d 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,7 +3,6 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False roles_path = ./roles -collections_path = ./collections private_key_file = ./id_ed25519 vault_password_file = vault-pass gathering = smart -- 2.43.0 From e0de74320c4c40cb5567a44cfcc35aabb89a129a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:05:18 +0200 Subject: [PATCH 11/72] ff --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 96bfb49d..3b5047ea 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,7 +2,7 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False -roles_path = ./roles +roles_path = /homeserver/roles private_key_file = ./id_ed25519 vault_password_file = vault-pass gathering = smart -- 2.43.0 From 5626cf399d805ed1a9a03f29b96fd428f1834645 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:10:35 +0200 Subject: [PATCH 12/72] ff --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 3b5047ea..657a0521 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,7 +2,7 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False -roles_path = /homeserver/roles +roles_path = /ansible/roles:/homeserver/roles private_key_file = ./id_ed25519 vault_password_file = vault-pass gathering = smart -- 2.43.0 From 89dfadc606b6121098ff3394c57a0579b66e4034 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:13:12 +0200 Subject: [PATCH 13/72] ff --- .woodpecker/ansible-playbook.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index e7fcc544..5809d2d6 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -20,3 +20,4 @@ steps: - event: [push, pull_request_closed] branch: image # master ... +# zusammenspiel image und homeserver mit gesetzten vars uind pfaden beschreiben -- 2.43.0 From 2bdf7d900499b5badf47bf5c2f3191193e7fc69f Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:14:19 +0200 Subject: [PATCH 14/72] dd --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 657a0521..1045cfce 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,7 +2,7 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False -roles_path = /ansible/roles:/homeserver/roles +roles_path = /ansible/roles:/homeserver/roles:/roles private_key_file = ./id_ed25519 vault_password_file = vault-pass gathering = smart -- 2.43.0 From c773eba059280b89141383171f26c5bdc4a65e7b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:14:46 +0200 Subject: [PATCH 15/72] ff --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 1045cfce..8a984da3 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,7 +2,7 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False -roles_path = /ansible/roles:/homeserver/roles:/roles +roles_path = /ansible/roles:/homeserver/roles:./roles private_key_file = ./id_ed25519 vault_password_file = vault-pass gathering = smart -- 2.43.0 From 2b6effc1f0a46a92d849dc5c2de0641545abb251 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:15:42 +0200 Subject: [PATCH 16/72] ff --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 8a984da3..cf516874 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,7 +2,7 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False -roles_path = /ansible/roles:/homeserver/roles:./roles +roles_path = /ansible/roles:./roles private_key_file = ./id_ed25519 vault_password_file = vault-pass gathering = smart -- 2.43.0 From aeca480d99465c1456c8bf2b4c59357ff1e35e13 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:41:29 +0200 Subject: [PATCH 17/72] d --- ...{ansible-lint.yml.old => ansible-lint.yml} | 5 +-- .woodpecker/ansible-playbook.yml | 23 ---------- requirements.yaml | 42 ------------------- 3 files changed, 1 insertion(+), 69 deletions(-) rename .woodpecker/{ansible-lint.yml.old => ansible-lint.yml} (78%) delete mode 100644 .woodpecker/ansible-playbook.yml delete mode 100644 requirements.yaml diff --git a/.woodpecker/ansible-lint.yml.old b/.woodpecker/ansible-lint.yml similarity index 78% rename from .woodpecker/ansible-lint.yml.old rename to .woodpecker/ansible-lint.yml index 819415ce..aec6c258 100644 --- a/.woodpecker/ansible-lint.yml.old +++ b/.woodpecker/ansible-lint.yml @@ -4,15 +4,12 @@ depends_on: steps: ansible-lint: - image: quay.io/ansible/creator-ee:v24.2.0 + image: registry.mgrote.net/ansible-image:master commands: # Secrets - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" - echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung - chmod 0400 ./id_ed25519 - # Abhängigkeiten - - pip install pykeepass Jinja2 markupsafe jmespath --user - - ansible-galaxy install -r requirements.yaml # Doing - ansible-lint --version - ansible-lint --force-color --format pep8 diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml deleted file mode 100644 index 5809d2d6..00000000 --- a/.woodpecker/ansible-playbook.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -#depends_on: -# - ansible-lint - -steps: - ansible-playbook: - image: registry.mgrote.net/ansible-image:master - commands: - # Secrets - - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" - - echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung - - chmod 0400 ./id_ed25519 - # Debug - - ansible localhost -m debug -a "var={{ lookup('viczem.keepass.keepass', 'restic_repository_password', 'password') }}" - # Doing - #- ansible-playbook playbooks/2_all.yml playbooks/3_service/* --limit production - # https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands - secrets: [vaultpass, sshkey] - when: - - event: [push, pull_request_closed] - branch: image # master -... -# zusammenspiel image und homeserver mit gesetzten vars uind pfaden beschreiben diff --git a/requirements.yaml b/requirements.yaml deleted file mode 100644 index 2f68186d..00000000 --- a/requirements.yaml +++ /dev/null @@ -1,42 +0,0 @@ -collections: - - name: community.general - version: "9.2.0" - - name: community.crypto - version: "2.21.1" - - name: ansible.posix - version: "1.5.4" - - name: community.docker - version: "3.11.0" - - name: viczem.keepass - version: "0.7.5" -roles: - - name: ansible-role-bootstrap - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-bootstrap - version: "7.0.2" - - name: ansible-ufw - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-ufw - version: "v4.1.13" - - name: ansible-manage-lvm - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-manage-lvm - version: "v0.2.12" - - name: ansible-role-unattended-upgrades - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-unattended-upgrades - version: "v4.6.0" - - name: ansible-role-pip - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-pip - version: "3.0.3" - - name: ansible-role-nfs - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-nfs - version: "2.0.0" - - name: ansible-role-docker - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-docker - version: "7.1.0" - - name: ansible_role_ctop - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible_role_ctop - version: "1.1.6" - - name: ansible_role_gitea - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible_role_gitea - version: "v3.5.0" - - name: ansible-role-postgresql - src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-postgresql - version: "3.5.2" -- 2.43.0 From 9c38b5940d6babc3d4f85b66e39598b269c57923 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:43:16 +0200 Subject: [PATCH 18/72] dd --- .woodpecker/ansible-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml index aec6c258..b011dc78 100644 --- a/.woodpecker/ansible-lint.yml +++ b/.woodpecker/ansible-lint.yml @@ -4,7 +4,7 @@ depends_on: steps: ansible-lint: - image: registry.mgrote.net/ansible-image:master + image: registry.mgrote.net/ansible-devspace:latest commands: # Secrets - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" -- 2.43.0 From 5b09b37af1d61cc600068cfb7b4d93c33ef8193e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:50:57 +0200 Subject: [PATCH 19/72] ddee --- .woodpecker/ansible-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml index b011dc78..dd834083 100644 --- a/.woodpecker/ansible-lint.yml +++ b/.woodpecker/ansible-lint.yml @@ -8,7 +8,7 @@ steps: commands: # Secrets - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" - - echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung + - echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung - chmod 0400 ./id_ed25519 # Doing - ansible-lint --version -- 2.43.0 From cf9264002249483eee7942c23c90082ddb8faff9 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 22:52:21 +0200 Subject: [PATCH 20/72] dd --- roles/mgrote_zfs_sanoid/tasks/destination.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/mgrote_zfs_sanoid/tasks/destination.yml b/roles/mgrote_zfs_sanoid/tasks/destination.yml index a69188a7..4c950f4e 100644 --- a/roles/mgrote_zfs_sanoid/tasks/destination.yml +++ b/roles/mgrote_zfs_sanoid/tasks/destination.yml @@ -11,8 +11,6 @@ when: - sanoid_syncoid_destination_host - - - name: add user to sudoers become: true ansible.builtin.blockinfile: -- 2.43.0 From dd7541526361dabf94c530ea7e048fa2298bd29e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:33:28 +0200 Subject: [PATCH 21/72] s --- devspace.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 devspace.sh diff --git a/devspace.sh b/devspace.sh new file mode 100644 index 00000000..77141c41 --- /dev/null +++ b/devspace.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +IMAGE=registry.mgrote.net/ansible-devspace:latest + +# Farben +BLUE='\[\e[34m\]' +GREEN='\[\e[32m\]' +RED='\[\e[31m\]' +YELLOW='\[\e[33m\]' +WHITE='\[\e[97m\]' +BLACK='\[\e[30m\]' +RESET='\[\e[0m\]' +ORANGE='\[\e[0;33m\]' + +echo ${GREEN}Run checks...${RESET} + +if ! [ -f "./vault-pass" ]; then + echo "${RED}Vault-Pass File is missing!${RESET}" + exit 1 +fi +if ! [ -f "./id_ed25519" ]; then + echo "${RED}SSH-Private-Key is missing!${RESET}" + exit 1 +fi + +echo ${GREEN}Pull image...${RESET} +docker pull --quiet ${IMAGE} + +echo ${GREEN}Start session...${RESET} +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash && tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver -- 2.43.0 From fe9e52886bcf6047b5501ea8a54f90250d51800f Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:33:41 +0200 Subject: [PATCH 22/72] changed Files: devspace.sh Signed-off-by: Michael Grote --- devspace.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 devspace.sh diff --git a/devspace.sh b/devspace.sh old mode 100644 new mode 100755 -- 2.43.0 From 30fd6ba86b9b20aa7cd42afc992206b4aafff26a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:36:08 +0200 Subject: [PATCH 23/72] dsd --- devspace.sh | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/devspace.sh b/devspace.sh index 77141c41..e782cba2 100755 --- a/devspace.sh +++ b/devspace.sh @@ -1,16 +1,13 @@ #!/bin/bash -IMAGE=registry.mgrote.net/ansible-devspace:latest +IMAGE="registry.mgrote.net/ansible-devspace:latest" # Farben -BLUE='\[\e[34m\]' -GREEN='\[\e[32m\]' -RED='\[\e[31m\]' -YELLOW='\[\e[33m\]' -WHITE='\[\e[97m\]' -BLACK='\[\e[30m\]' -RESET='\[\e[0m\]' -ORANGE='\[\e[0;33m\]' +# https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux +RESET='\033[0m' # Text Reset +RED='\033[0;31m' # Red +GREEN='\033[0;32m' # Green +Yellow='\033[0;33m' # Yellow echo ${GREEN}Run checks...${RESET} @@ -28,3 +25,5 @@ docker pull --quiet ${IMAGE} echo ${GREEN}Start session...${RESET} docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash && tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver + +# todo shellcheck -- 2.43.0 From ffa7ab43a5920eb08dcfb98b33b6ba3ab7d09d21 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:36:55 +0200 Subject: [PATCH 24/72] df --- devspace.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/devspace.sh b/devspace.sh index e782cba2..e2c74d42 100755 --- a/devspace.sh +++ b/devspace.sh @@ -4,10 +4,10 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest" # Farben # https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux -RESET='\033[0m' # Text Reset -RED='\033[0;31m' # Red -GREEN='\033[0;32m' # Green -Yellow='\033[0;33m' # Yellow +RESET='\033[0m' +RED='\033[0;31m' +GREEN='\033[0;32m' +Yellow='\033[0;33m' echo ${GREEN}Run checks...${RESET} @@ -24,6 +24,6 @@ echo ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash && tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver # todo shellcheck -- 2.43.0 From dd95e7493eed1e465c83b125a6c92329257ce69d Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:37:45 +0200 Subject: [PATCH 25/72] ff --- devspace.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devspace.sh b/devspace.sh index e2c74d42..99e3d418 100755 --- a/devspace.sh +++ b/devspace.sh @@ -4,6 +4,7 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest" # Farben # https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux +# todo farben kaputt RESET='\033[0m' RED='\033[0;31m' GREEN='\033[0;32m' @@ -11,6 +12,7 @@ Yellow='\033[0;33m' echo ${GREEN}Run checks...${RESET} +# TODO ghier noch check output mit haken dran in grün if ! [ -f "./vault-pass" ]; then echo "${RED}Vault-Pass File is missing!${RESET}" exit 1 -- 2.43.0 From 107fcdb2be8c910b28f64f233d5cc7a52457cea7 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:38:57 +0200 Subject: [PATCH 26/72] ff --- devspace.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devspace.sh b/devspace.sh index 99e3d418..6e004a0f 100755 --- a/devspace.sh +++ b/devspace.sh @@ -14,18 +14,18 @@ echo ${GREEN}Run checks...${RESET} # TODO ghier noch check output mit haken dran in grün if ! [ -f "./vault-pass" ]; then - echo "${RED}Vault-Pass File is missing!${RESET}" + echo -e "${RED}Vault-Pass File is missing!${RESET}" exit 1 fi if ! [ -f "./id_ed25519" ]; then - echo "${RED}SSH-Private-Key is missing!${RESET}" + echo -e "${RED}SSH-Private-Key is missing!${RESET}" exit 1 fi -echo ${GREEN}Pull image...${RESET} +echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} -echo ${GREEN}Start session...${RESET} +echo -e ${GREEN}Start session...${RESET} docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver # todo shellcheck -- 2.43.0 From e7659fb1fda9f6b0f5b4400dd7d8467cc562501b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:39:51 +0200 Subject: [PATCH 27/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 6e004a0f..dec995f9 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,6 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver # todo shellcheck -- 2.43.0 From e549b3bdb32f434d98d1d78a3cc9fbcb452fd320 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:40:50 +0200 Subject: [PATCH 28/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index dec995f9..039dce3a 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,6 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash -c git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver # todo shellcheck -- 2.43.0 From 946b1584ee93ef71095a13ae616f6264e51a751c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:41:23 +0200 Subject: [PATCH 29/72] dsfg --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 039dce3a..216d75f8 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,6 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash -c git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash -c && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver # todo shellcheck -- 2.43.0 From 660aea29e2ca126c5575a68942d1c73cc36ab429 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:41:43 +0200 Subject: [PATCH 30/72] dfdf --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 216d75f8..8c0b87e7 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,6 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash -c && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} pwd && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver # todo shellcheck -- 2.43.0 From f21bc488ad06206becf1dbbb3b5549c7259b1deb Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:42:42 +0200 Subject: [PATCH 31/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 8c0b87e7..3a268105 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,6 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} pwd && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash # todo shellcheck -- 2.43.0 From a03f6b06e980dee84fd9413201abd39ef4b65a3b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:43:07 +0200 Subject: [PATCH 32/72] sdfg --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 3a268105..cdc43e5c 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,6 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash +docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} echo Branch: $(git rev-parse --abbrev-ref HEAD) && /bin/bash # todo shellcheck -- 2.43.0 From a9563b4e8007e48ce0b5d1e366250a6bb3852805 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:45:23 +0200 Subject: [PATCH 33/72] ff --- devspace.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index cdc43e5c..ff78b1ee 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,9 @@ echo -e ${GREEN}Pull image...${RESET} docker pull --quiet ${IMAGE} echo -e ${GREEN}Start session...${RESET} -docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} echo Branch: $(git rev-parse --abbrev-ref HEAD) && /bin/bash +docker run -it \ + -v $PWD:/ansible-homeserver \ + -w /ansible-homeserver ${IMAGE} \ + /bin/bash echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash # todo shellcheck -- 2.43.0 From c52e20ad737219fe1ba521602be22097b916dbe9 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:45:48 +0200 Subject: [PATCH 34/72] dd --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index ff78b1ee..d1a31756 100755 --- a/devspace.sh +++ b/devspace.sh @@ -29,6 +29,6 @@ echo -e ${GREEN}Start session...${RESET} docker run -it \ -v $PWD:/ansible-homeserver \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash + echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash # todo shellcheck -- 2.43.0 From 76faa81d165e1fb2e0c6dbf8d12ea00cc50a32ce Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:49:19 +0200 Subject: [PATCH 35/72] ff --- devspace.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/devspace.sh b/devspace.sh index d1a31756..04f6c666 100755 --- a/devspace.sh +++ b/devspace.sh @@ -4,15 +4,14 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest" # Farben # https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux -# todo farben kaputt RESET='\033[0m' RED='\033[0;31m' GREEN='\033[0;32m' -Yellow='\033[0;33m' +YELLOW='\033[0;33m' -echo ${GREEN}Run checks...${RESET} +echo -e "${GREEN}Run checks...${RESET}" -# TODO ghier noch check output mit haken dran in grün +# TODO hier noch check output mit Haken dran in grün if ! [ -f "./vault-pass" ]; then echo -e "${RED}Vault-Pass File is missing!${RESET}" exit 1 @@ -22,13 +21,13 @@ if ! [ -f "./id_ed25519" ]; then exit 1 fi -echo -e ${GREEN}Pull image...${RESET} +echo -e "${GREEN}Pull image...${RESET}" docker pull --quiet ${IMAGE} -echo -e ${GREEN}Start session...${RESET} +echo -e "${GREEN}Start session...${RESET}" docker run -it \ -v $PWD:/ansible-homeserver \ -w /ansible-homeserver ${IMAGE} \ - echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash + /bin/bash -c "echo Branch: \$(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash" # todo shellcheck -- 2.43.0 From 2f73d17ae0730ade8f130684899afc0a5a5ada75 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:50:07 +0200 Subject: [PATCH 36/72] dfgd --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 04f6c666..06dbda4a 100755 --- a/devspace.sh +++ b/devspace.sh @@ -28,6 +28,6 @@ echo -e "${GREEN}Start session...${RESET}" docker run -it \ -v $PWD:/ansible-homeserver \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash -c "echo Branch: \$(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash" + /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && echo Branch: \$(git rev-parse --abbrev-ref HEAD) && /bin/bash" # todo shellcheck -- 2.43.0 From f25ce8d59f32d3450e2b5d706d2d68eeed624323 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:52:54 +0200 Subject: [PATCH 37/72] df --- devspace.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/devspace.sh b/devspace.sh index 06dbda4a..4f5d3278 100755 --- a/devspace.sh +++ b/devspace.sh @@ -21,13 +21,11 @@ if ! [ -f "./id_ed25519" ]; then exit 1 fi -echo -e "${GREEN}Pull image...${RESET}" docker pull --quiet ${IMAGE} -echo -e "${GREEN}Start session...${RESET}" docker run -it \ -v $PWD:/ansible-homeserver \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && echo Branch: \$(git rev-parse --abbrev-ref HEAD) && /bin/bash" + /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash" # todo shellcheck -- 2.43.0 From 80f22f4268ee6e1c9d567b459193d419ee73a59c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:55:21 +0200 Subject: [PATCH 38/72] dsf --- devspace.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 4f5d3278..cf3532fb 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,6 +26,7 @@ docker pull --quiet ${IMAGE} docker run -it \ -v $PWD:/ansible-homeserver \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash" + /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && source /usr/lib/git-core/git-sh-prompt && /bin/bash" + # explizites sourc notwendig, Pfad kann mit "dpkg-query -L git | grep pro" gefunden werden # todo shellcheck -- 2.43.0 From 6142ba89484dc4207c6d41ac081e3e0aea09f6cc Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:56:10 +0200 Subject: [PATCH 39/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index cf3532fb..f7c69f2b 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,7 +26,7 @@ docker pull --quiet ${IMAGE} docker run -it \ -v $PWD:/ansible-homeserver \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && source /usr/lib/git-core/git-sh-prompt && /bin/bash" + /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash && source /usr/lib/git-core/git-sh-prompt " # explizites sourc notwendig, Pfad kann mit "dpkg-query -L git | grep pro" gefunden werden # todo shellcheck -- 2.43.0 From b8a938c5dc8121f171a3be074d8922e396635a7c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jul 2024 23:58:09 +0200 Subject: [PATCH 40/72] ff --- devspace.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devspace.sh b/devspace.sh index f7c69f2b..4f5d3278 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,7 +26,6 @@ docker pull --quiet ${IMAGE} docker run -it \ -v $PWD:/ansible-homeserver \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash && source /usr/lib/git-core/git-sh-prompt " - # explizites sourc notwendig, Pfad kann mit "dpkg-query -L git | grep pro" gefunden werden + /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash" # todo shellcheck -- 2.43.0 From 3c6c0bc1b1d945bcff9107be00ef931bf0421582 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 26 Jul 2024 00:42:22 +0200 Subject: [PATCH 41/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 4f5d3278..6fff47ef 100755 --- a/devspace.sh +++ b/devspace.sh @@ -21,7 +21,7 @@ if ! [ -f "./id_ed25519" ]; then exit 1 fi -docker pull --quiet ${IMAGE} +docker pull ${IMAGE} docker run -it \ -v $PWD:/ansible-homeserver \ -- 2.43.0 From dbf917e695e2d6e52dd70da502805d7c5f91b361 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 26 Jul 2024 00:47:16 +0200 Subject: [PATCH 42/72] ff --- devspace.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devspace.sh b/devspace.sh index 6fff47ef..45955613 100755 --- a/devspace.sh +++ b/devspace.sh @@ -7,7 +7,6 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest" RESET='\033[0m' RED='\033[0;31m' GREEN='\033[0;32m' -YELLOW='\033[0;33m' echo -e "${GREEN}Run checks...${RESET}" @@ -24,7 +23,7 @@ fi docker pull ${IMAGE} docker run -it \ - -v $PWD:/ansible-homeserver \ + -v "$PWD:/ansible-homeserver" \ -w /ansible-homeserver ${IMAGE} \ /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash" -- 2.43.0 From 564ac1b7191269e1ad31fd7e9a22ea94e4cffb6a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 26 Jul 2024 00:47:20 +0200 Subject: [PATCH 43/72] ff --- devspace.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/devspace.sh b/devspace.sh index 45955613..7fa0f276 100755 --- a/devspace.sh +++ b/devspace.sh @@ -26,5 +26,3 @@ docker run -it \ -v "$PWD:/ansible-homeserver" \ -w /ansible-homeserver ${IMAGE} \ /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash" - -# todo shellcheck -- 2.43.0 From 9eefc56624dcc6b6ef467bca796d54821c2ac3cd Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 15:46:56 +0200 Subject: [PATCH 44/72] remove bash --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 7fa0f276..c70bbf15 100755 --- a/devspace.sh +++ b/devspace.sh @@ -25,4 +25,4 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/ansible-homeserver" \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash" + /bin/bash -c "/bin/bash" -- 2.43.0 From 9f01751a91afc23240c3abbfa5c0ff81969ecc3b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 15:59:23 +0200 Subject: [PATCH 45/72] dd --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index c70bbf15..c3c526e3 100755 --- a/devspace.sh +++ b/devspace.sh @@ -25,4 +25,4 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/ansible-homeserver" \ -w /ansible-homeserver ${IMAGE} \ - /bin/bash -c "/bin/bash" + /bin/bash -- 2.43.0 From 5f305275ed09a8276c87fe3f7dc6bd90e5ea8f7d Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 16:09:46 +0200 Subject: [PATCH 46/72] dd --- devspace.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devspace.sh b/devspace.sh index c3c526e3..357d88b3 100755 --- a/devspace.sh +++ b/devspace.sh @@ -24,5 +24,4 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/ansible-homeserver" \ - -w /ansible-homeserver ${IMAGE} \ - /bin/bash + -w /ansible-homeserver ${IMAGE} -- 2.43.0 From 000697d38f7f3185253154ea0fe9ccdc5cdb33f8 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 16:13:57 +0200 Subject: [PATCH 47/72] dd --- devspace.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devspace.sh b/devspace.sh index 357d88b3..1e89cf14 100755 --- a/devspace.sh +++ b/devspace.sh @@ -19,6 +19,9 @@ if ! [ -f "./id_ed25519" ]; then echo -e "${RED}SSH-Private-Key is missing!${RESET}" exit 1 fi +if ! [ -f "~/.git-credentials" ]; then + echo -e "${RED}~/.git-credentials not Found!${RESET}" +fi docker pull ${IMAGE} -- 2.43.0 From e506595c784348965cfd3c64facdc9c1438063ba Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 14:12:30 +0000 Subject: [PATCH 48/72] changed Files: f Signed-off-by: Michael Grote --- f | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 f diff --git a/f b/f new file mode 100644 index 00000000..e69de29b -- 2.43.0 From 31e390650a1c82201bd87eb4a75f76fb211f3952 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 14:15:11 +0000 Subject: [PATCH 49/72] changed Files: gg Signed-off-by: Michael Grote --- gg | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 gg diff --git a/gg b/gg new file mode 100644 index 00000000..e69de29b -- 2.43.0 From c9bc1701cee9676c555e93e7c54dda3f59ce5c0b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 16:16:41 +0200 Subject: [PATCH 50/72] dd --- devspace.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 1e89cf14..de00b448 100755 --- a/devspace.sh +++ b/devspace.sh @@ -7,6 +7,7 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest" RESET='\033[0m' RED='\033[0;31m' GREEN='\033[0;32m' +YELLOW='\033[0;33m' echo -e "${GREEN}Run checks...${RESET}" @@ -20,11 +21,12 @@ if ! [ -f "./id_ed25519" ]; then exit 1 fi if ! [ -f "~/.git-credentials" ]; then - echo -e "${RED}~/.git-credentials not Found!${RESET}" + echo -e "${YELLOW}~/.git-credentials not Found!${RESET}" fi docker pull ${IMAGE} docker run -it \ -v "$PWD:/ansible-homeserver" \ + -v "~/.git-credentials:/root/.git-credentials" \ -w /ansible-homeserver ${IMAGE} -- 2.43.0 From 415e5b71a3420ee7a3eb27a65847f5d26ad3b748 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 16:18:47 +0200 Subject: [PATCH 51/72] dd --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index de00b448..72a9f975 100755 --- a/devspace.sh +++ b/devspace.sh @@ -28,5 +28,5 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/ansible-homeserver" \ - -v "~/.git-credentials:/root/.git-credentials" \ + -v "$HOME/.git-credentials:/root/.git-credentials" \ #credential reinmountern prufen -w /ansible-homeserver ${IMAGE} -- 2.43.0 From 4c67c68bb08c28cee800a5e1c3935a387fa4816a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 16:19:06 +0200 Subject: [PATCH 52/72] dd --- devspace.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 72a9f975..daa94adc 100755 --- a/devspace.sh +++ b/devspace.sh @@ -28,5 +28,8 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/ansible-homeserver" \ - -v "$HOME/.git-credentials:/root/.git-credentials" \ #credential reinmountern prufen + -v "$HOME/.git-credentials:/root/.git-credentials" \ -w /ansible-homeserver ${IMAGE} + + +# #credential reinmountern prufen -- 2.43.0 From 5b8073903a10537e893332546d61b79608cbd16d Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 14:19:47 +0000 Subject: [PATCH 53/72] changed Files: ff Signed-off-by: Michael Grote --- ff | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 ff diff --git a/ff b/ff new file mode 100644 index 00000000..e69de29b -- 2.43.0 From 8f4fafcfb37d000ff6096b96adca877af8604283 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 29 Jul 2024 16:30:22 +0200 Subject: [PATCH 54/72] ff --- devspace.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devspace.sh b/devspace.sh index daa94adc..49f24a44 100755 --- a/devspace.sh +++ b/devspace.sh @@ -33,3 +33,5 @@ docker run -it \ # #credential reinmountern prufen +# touch ff && git add . && gcm && git push +# alles auf user ansible-dev umstellen -- 2.43.0 From 6e6be42e955e360707e6dfcdf7029c7711b148c5 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 10:50:43 +0200 Subject: [PATCH 55/72] d --- devspace.sh | 2 +- f | 0 ff | 0 gg | 0 4 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 f delete mode 100644 ff delete mode 100644 gg diff --git a/devspace.sh b/devspace.sh index 49f24a44..9a846817 100755 --- a/devspace.sh +++ b/devspace.sh @@ -21,7 +21,7 @@ if ! [ -f "./id_ed25519" ]; then exit 1 fi if ! [ -f "~/.git-credentials" ]; then - echo -e "${YELLOW}~/.git-credentials not Found!${RESET}" + echo -e "${YELLOW}~/.git-credentials not found!${RESET}" fi docker pull ${IMAGE} diff --git a/f b/f deleted file mode 100644 index e69de29b..00000000 diff --git a/ff b/ff deleted file mode 100644 index e69de29b..00000000 diff --git a/gg b/gg deleted file mode 100644 index e69de29b..00000000 -- 2.43.0 From a2df510583b82e43312a0a72a1bf3721a12b8e78 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:10:27 +0200 Subject: [PATCH 56/72] dd --- devspace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devspace.sh b/devspace.sh index 9a846817..d5564974 100755 --- a/devspace.sh +++ b/devspace.sh @@ -27,8 +27,8 @@ fi docker pull ${IMAGE} docker run -it \ - -v "$PWD:/ansible-homeserver" \ - -v "$HOME/.git-credentials:/root/.git-credentials" \ + -v "$PWD:/home/ansible-user/ansible-homeserver" \ + -v "$HOME/.git-credentials://home/ansible-user/.git-credentials" \ -w /ansible-homeserver ${IMAGE} -- 2.43.0 From 8f42b990a0f5acb871773af3c78acc6ff260ff17 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:10:43 +0200 Subject: [PATCH 57/72] dd --- devspace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devspace.sh b/devspace.sh index d5564974..4bc87d54 100755 --- a/devspace.sh +++ b/devspace.sh @@ -27,8 +27,8 @@ fi docker pull ${IMAGE} docker run -it \ - -v "$PWD:/home/ansible-user/ansible-homeserver" \ - -v "$HOME/.git-credentials://home/ansible-user/.git-credentials" \ + -v "$PWD:/home/ansible-dev/ansible-homeserver" \ + -v "$HOME/.git-credentials://home/ansible-dev/.git-credentials" \ -w /ansible-homeserver ${IMAGE} -- 2.43.0 From 4c4a8c505aac15817ad318090b77afc12e6f48c1 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:11:56 +0200 Subject: [PATCH 58/72] gg --- devspace.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/devspace.sh b/devspace.sh index 4bc87d54..c5ace42f 100755 --- a/devspace.sh +++ b/devspace.sh @@ -35,3 +35,4 @@ docker run -it \ # #credential reinmountern prufen # touch ff && git add . && gcm && git push # alles auf user ansible-dev umstellen +# test if local user-id=1000, wennd as geht imdpckerffiel id auf 1000 stellen -- 2.43.0 From 925a57395f5f2af0bb59729fcb64c60d5821e216 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:16:39 +0200 Subject: [PATCH 59/72] dd --- devspace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devspace.sh b/devspace.sh index c5ace42f..09438c7c 100755 --- a/devspace.sh +++ b/devspace.sh @@ -28,8 +28,8 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/home/ansible-dev/ansible-homeserver" \ - -v "$HOME/.git-credentials://home/ansible-dev/.git-credentials" \ - -w /ansible-homeserver ${IMAGE} + -v "$HOME/.git-credentials:/home/ansible-dev/.git-credentials" \ + -w /home/ansible-dev/ansible-homeserver ${IMAGE} # #credential reinmountern prufen -- 2.43.0 From 8f0369bd34c9e54acba5da0546e14f98b16815f8 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:16:48 +0200 Subject: [PATCH 60/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 09438c7c..4d41ae07 100755 --- a/devspace.sh +++ b/devspace.sh @@ -29,7 +29,7 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/home/ansible-dev/ansible-homeserver" \ -v "$HOME/.git-credentials:/home/ansible-dev/.git-credentials" \ - -w /home/ansible-dev/ansible-homeserver ${IMAGE} + ${IMAGE} # #credential reinmountern prufen -- 2.43.0 From f072bb62358f75906eeece1476b39fe2ba3dfa6e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:35:36 +0200 Subject: [PATCH 61/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 4d41ae07..09438c7c 100755 --- a/devspace.sh +++ b/devspace.sh @@ -29,7 +29,7 @@ docker pull ${IMAGE} docker run -it \ -v "$PWD:/home/ansible-dev/ansible-homeserver" \ -v "$HOME/.git-credentials:/home/ansible-dev/.git-credentials" \ - ${IMAGE} + -w /home/ansible-dev/ansible-homeserver ${IMAGE} # #credential reinmountern prufen -- 2.43.0 From a100b2b2c1b95ee47c6878c41db6885e22919534 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:39:03 +0200 Subject: [PATCH 62/72] ff --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index cf516874..dbe15cac 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,7 +2,7 @@ inventory = ./inventory nocows = 1 retry_files_enabled = False -roles_path = /ansible/roles:./roles +roles_path = ./roles:~/.ansible/roles/ private_key_file = ./id_ed25519 vault_password_file = vault-pass gathering = smart -- 2.43.0 From ad0a1175d74313dd89927c954567ee49164433e1 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:44:07 +0200 Subject: [PATCH 63/72] ff --- devspace.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/devspace.sh b/devspace.sh index 09438c7c..48cb3a77 100755 --- a/devspace.sh +++ b/devspace.sh @@ -11,7 +11,6 @@ YELLOW='\033[0;33m' echo -e "${GREEN}Run checks...${RESET}" -# TODO hier noch check output mit Haken dran in grün if ! [ -f "./vault-pass" ]; then echo -e "${RED}Vault-Pass File is missing!${RESET}" exit 1 @@ -20,9 +19,13 @@ if ! [ -f "./id_ed25519" ]; then echo -e "${RED}SSH-Private-Key is missing!${RESET}" exit 1 fi -if ! [ -f "~/.git-credentials" ]; then +if ! [ -f "$HOME/.git-credentials" ]; then echo -e "${YELLOW}~/.git-credentials not found!${RESET}" fi +if ! [ $(id -u) -eq "1000"]; then + echo -e "${RED}Wrong UID (!=1000)${RESET}" + exit 1 +fi docker pull ${IMAGE} @@ -30,9 +33,3 @@ docker run -it \ -v "$PWD:/home/ansible-dev/ansible-homeserver" \ -v "$HOME/.git-credentials:/home/ansible-dev/.git-credentials" \ -w /home/ansible-dev/ansible-homeserver ${IMAGE} - - -# #credential reinmountern prufen -# touch ff && git add . && gcm && git push -# alles auf user ansible-dev umstellen -# test if local user-id=1000, wennd as geht imdpckerffiel id auf 1000 stellen -- 2.43.0 From 0feb842e00c6fab55bc7b5dd932bb5469c8cb29a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:44:32 +0200 Subject: [PATCH 64/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 48cb3a77..6711d781 100755 --- a/devspace.sh +++ b/devspace.sh @@ -22,7 +22,7 @@ fi if ! [ -f "$HOME/.git-credentials" ]; then echo -e "${YELLOW}~/.git-credentials not found!${RESET}" fi -if ! [ $(id -u) -eq "1000"]; then +if ! [[ $(id -u) -eq "1000"]; then echo -e "${RED}Wrong UID (!=1000)${RESET}" exit 1 fi -- 2.43.0 From 8a2e48e10a531efdb811fb0eeb3c65b3bc959b03 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 11:44:48 +0200 Subject: [PATCH 65/72] ff --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index 6711d781..de7cebf1 100755 --- a/devspace.sh +++ b/devspace.sh @@ -22,7 +22,7 @@ fi if ! [ -f "$HOME/.git-credentials" ]; then echo -e "${YELLOW}~/.git-credentials not found!${RESET}" fi -if ! [[ $(id -u) -eq "1000"]; then +if ! [[ $(id -u) -eq "1000" ]]; then echo -e "${RED}Wrong UID (!=1000)${RESET}" exit 1 fi -- 2.43.0 From d4ad2d3394c475675e43276458019f540c21243e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 12:22:08 +0200 Subject: [PATCH 66/72] ff --- devspace.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devspace.sh b/devspace.sh index de7cebf1..b7ba0f7e 100755 --- a/devspace.sh +++ b/devspace.sh @@ -27,8 +27,10 @@ if ! [[ $(id -u) -eq "1000" ]]; then exit 1 fi +echo -e "${GREEN}Pull Image...${RESET}" docker pull ${IMAGE} +echo -e "${GREEN}Start container...${RESET}" docker run -it \ -v "$PWD:/home/ansible-dev/ansible-homeserver" \ -v "$HOME/.git-credentials:/home/ansible-dev/.git-credentials" \ -- 2.43.0 From 3b53e6595f7149e7820c65312d5aba57e52c6645 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 14:19:03 +0200 Subject: [PATCH 67/72] dd --- devspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devspace.sh b/devspace.sh index b7ba0f7e..0e165663 100755 --- a/devspace.sh +++ b/devspace.sh @@ -23,7 +23,7 @@ if ! [ -f "$HOME/.git-credentials" ]; then echo -e "${YELLOW}~/.git-credentials not found!${RESET}" fi if ! [[ $(id -u) -eq "1000" ]]; then - echo -e "${RED}Wrong UID (!=1000)${RESET}" + echo -e "${RED}Wrong UID! (!=1000)${RESET}" exit 1 fi -- 2.43.0 From fda48b8f506d6ae83a63d640da1c66b6e09e2e33 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 14:24:46 +0200 Subject: [PATCH 68/72] doklu --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index af50bf25..345b549a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # ansible_heimserver [![status-badge](https://ci.mgrote.net/api/badges/2/status.svg)](https://ci.mgrote.net/repos/2) + +## ansible-devspace + +- Repository: https://git.mgrote.net/container-images/ansible-devspace + - dort mit Woodpecker-CI gebaut und in eigene Registry gepushed +- ``devspace.sh`` pulled Image, prüft ob SSH-Key und ``vault-pass`` vorhanden sind + - mountet git-Secrets +- startet Container -- 2.43.0 From bffb0836c57188e4530a8f4a4f0389f0248e9596 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 18:52:14 +0000 Subject: [PATCH 69/72] ansible lint Signed-off-by: Michael Grote --- .ansible-lint | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 5cb45ab6..4b58fb87 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -8,19 +8,7 @@ skip_list: quiet: true exclude_paths: - .cache/ # implicit unless exclude_paths is defined in config - - collections/ - .gitlab-ci.yml - friedhof/ - playbooks/on-off - - roles/ansible-role-pip - - roles/ansible-role-bootstrap - - roles/ansible_role_ctop - - roles/ansible-role-docker - - roles/ansible-role-helm - - roles/ansible-role-nfs - - roles/ansible-role-unattended-upgrades - - roles/ansible-manage-lvm - - roles/ansible-ufw - - roles/ansible_role_gitea - - roles/ansible-role-postgresql - .woodpecker/ -- 2.43.0 From 6469330f1726c0ecd17fbacebe74a5099a2575f2 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 20:53:32 +0200 Subject: [PATCH 70/72] dd --- .woodpecker/ansible-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml index dd834083..769c5d89 100644 --- a/.woodpecker/ansible-lint.yml +++ b/.woodpecker/ansible-lint.yml @@ -7,7 +7,7 @@ steps: image: registry.mgrote.net/ansible-devspace:latest commands: # Secrets - - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert" + - echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreaks, daher mit base64 -w0 "kodiert" - echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung - chmod 0400 ./id_ed25519 # Doing -- 2.43.0 From fbd60de613a29dd2f767afe8b1e2404357efafaf Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 18:54:21 +0000 Subject: [PATCH 71/72] Revert "ansible lint" This reverts commit bffb0836c57188e4530a8f4a4f0389f0248e9596. --- .ansible-lint | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.ansible-lint b/.ansible-lint index 4b58fb87..5cb45ab6 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -8,7 +8,19 @@ skip_list: quiet: true exclude_paths: - .cache/ # implicit unless exclude_paths is defined in config + - collections/ - .gitlab-ci.yml - friedhof/ - playbooks/on-off + - roles/ansible-role-pip + - roles/ansible-role-bootstrap + - roles/ansible_role_ctop + - roles/ansible-role-docker + - roles/ansible-role-helm + - roles/ansible-role-nfs + - roles/ansible-role-unattended-upgrades + - roles/ansible-manage-lvm + - roles/ansible-ufw + - roles/ansible_role_gitea + - roles/ansible-role-postgresql - .woodpecker/ -- 2.43.0 From 3a8c4bb9c99cd1845de92c370e99ffdd43637801 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 30 Jul 2024 20:57:21 +0200 Subject: [PATCH 72/72] ff --- .woodpecker/ansible-lint.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml index 769c5d89..96c69719 100644 --- a/.woodpecker/ansible-lint.yml +++ b/.woodpecker/ansible-lint.yml @@ -11,7 +11,6 @@ steps: - echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung - chmod 0400 ./id_ed25519 # Doing - - ansible-lint --version - ansible-lint --force-color --format pep8 # https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands secrets: [vaultpass] -- 2.43.0