-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sft] Add srv-announcer role to the SFT deployment automation #341
Conversation
ansible/provision-sft.yml
Outdated
roles: | ||
- role: sft-server | ||
tasks: | ||
- import_role: | ||
name: 'sft-server' | ||
- import_role: | ||
name: 'srv-announcer' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a difference between listing roles and importing them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically speaking, no - I remembered it differently. I thought, roles:
would load them dynamically, but I was wrong. It's loading them statically. Writing it this way, it makes it more obvious, though. Anyway, I'll change it back.
88a34b8
to
1b2f1ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please only merge after changing the version in requirements.yml
ansible/requirements.yml
Outdated
version: "20d4f19685777ed3f4d11fa100bdbdd4a7e2ce1f" # master (2020-09-16) | ||
version: "49474b01e7e5dba3eb7e67376f8598190fd4c6cb" # move-deps-list (2020-09-24) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated to point to latest master.
Update variables in the inventory template to match the latest version of the role and pin to the corresponding commit.
1b2f1ac
to
be30444
Compare
Update variables in the inventory template to match the latest version of
the role and pin to the corresponding commit.
Moved from 'roles' directive in the playbook to 'import_role' in order to
import roles instead of including them.