DEAN-ngo / elimupi

Other
3 stars 9 forks source link

Feature/116 ansible refactoring part1 #117

Closed ltoning closed 1 year ago

ltoning commented 1 year ago

Fully tested working on atest buster Raspios Buster based release 2023-05-03

ltoning commented 1 year ago

Did you run ansible-galaxy install -r roles.yml ?

Op za 11 nov. 2023 20:24 schreef Alonso Vidales @.***>:

@.**** commented on this pull request.

In ansible/roles.yml https://github.com/DEAN-ngo/elimupi/pull/117#discussion_r1390256808:

@@ -1,2 +1,5 @@ +- src: singleplatform-eng.users

Some of these roles are missing:

$ansible-playbook -i ./inventory.yml playbook-raspberrypi.yml --ask-vault-pass -vvv ansible-playbook [core 2.14.3] config file = /Users/avidales/personal/elimupi/ansible/ansible.cfg configured module search path = ['/Users/avidales/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/homebrew/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/ansible ansible collection location = /Users/avidales/.ansible/collections:/usr/share/ansible/collections executable location = /opt/homebrew/bin/ansible-playbook python version = 3.11.2 (main, Feb 16 2023, 02:52:13) [Clang 13.0.0 (clang-1300.0.29.30)] (/opt/homebrew/Cellar/ansible/7.3.0/libexec/bin/python3.11) jinja version = 3.1.2 libyaml = True Using /Users/avidales/personal/elimupi/ansible/ansible.cfg as config file Vault password: host_list declined parsing /Users/avidales/personal/elimupi/ansible/inventory.yml as it did not pass its verify_file() method script declined parsing /Users/avidales/personal/elimupi/ansible/inventory.yml as it did not pass its verify_file() method Parsed /Users/avidales/personal/elimupi/ansible/inventory.yml inventory source with yaml plugin ERROR! the role 'singleplatform-eng.users' was not found in /Users/avidales/personal/elimupi/ansible/roles:/Users/avidales/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/Users/avidales/personal/elimupi/ansible

The error appears to be in '/Users/avidales/personal/elimupi/ansible/playbook-raspberrypi.yml': line 7, column 7, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

roles:

  • singleplatform-eng.users ^ here

— Reply to this email directly, view it on GitHub https://github.com/DEAN-ngo/elimupi/pull/117#pullrequestreview-1726090758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7EM3CJJG76AVGQPSF45E3YD6YF5AVCNFSM6AAAAAA6ZU64XOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOMRWGA4TANZVHA . You are receiving this because you modified the open/close state.Message ID: @.***>

alonsovidales commented 1 year ago

Ah, nope, now it works, thanks!