mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
.travis.yml: new error when ansible.cfg contains '[defaults]' twice
This commit is contained in:
parent
95e6e72537
commit
d877bc7d4f
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ install:
|
|||
# - pip install ansible-base # ALSO WORKS e.g. if the above addons: / apt: section is commented out. To install latest ansible-base e.g. 2.10.6+, similar to https://github.com/iiab/iiab/blob/master/scripts/ansible
|
||||
- ansible-galaxy collection install -r collections.yml # Install ~4 Ansible Collections
|
||||
- "{ echo 'roles_path = ./roles/'; } >> ansible.cfg" # Add correct roles_path to ansible.cfg, appending to https://github.com/iiab/iiab/blob/master/ansible.cfg
|
||||
# - "{ echo '[defaults]'; echo 'roles_path = ./roles/'; } >> ansible.cfg" # Create ansible.cfg with correct roles_path and local_tmp
|
||||
# - "{ echo '[defaults]'; echo 'roles_path = ./roles/'; } >> ansible.cfg" # 2021-02-24: suddenly no longer works, with the newer ansible-base install methods above (error arises due to '[defaults]' appearing twice)
|
||||
# - cat ansible.cfg # UNCOMMENT TO VERIFY!
|
||||
- apt -a list ansible-base # VERIFY ansible-base VERSIONS OFFERED BY apt
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue