uvok on Nostr: Today I learned: #ansible roles are helpful for installing the same packages on a ...
Today I learned:
#ansible roles are helpful for installing the same packages on a group of hosts
#ansible inventory file: The variables of the first group a single host is part are apparently taken, i.e. if I have a host abc in group g1 with ansible_user:ansible and also in a later group g2 with ansible_user:root, even if I do ansible-playbook on g2, the host abc wants to use the ansible_user ansible
Published at
2023-08-09 16:33:33Event JSON
{
"id": "cc5f56ed8e16170be6fc434ebe938d7bc56b5f16fa11a4ddcb1bfcb51ec8977a",
"pubkey": "b15e52e9623da51cfe460020e7da27a086de784731ae755e0bb94e9f1c113cb2",
"created_at": 1691598813,
"kind": 1,
"tags": [
[
"t",
"ansible"
],
[
"proxy",
"https://furry.engineer/users/uvok/statuses/110860619835983898",
"activitypub"
]
],
"content": "Today I learned:\n\n#ansible roles are helpful for installing the same packages on a group of hosts\n\n#ansible inventory file: The variables of the first group a single host is part are apparently taken, i.e. if I have a host abc in group g1 with ansible_user:ansible and also in a later group g2 with ansible_user:root, even if I do ansible-playbook on g2, the host abc wants to use the ansible_user ansible",
"sig": "43d7c103a2c9327ef70039120f6255fa7a93aca2435d926f97027fa1445486c7c7526ab8ef5c4d370e8f81520e28c9582cdb38ab235cf8e771dec59365cab9ad"
}