You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/etc/apt/certs looks like a good place for these files.
However, I see no way to write these files using the apt role.
Can clone the apt__*conf variables (Generate additional APT configuration files) to write to
"/etc/apt/{{ (item.dest | d(item.path | d(item.name))) }}"
Is there a better way?
The text was updated successfully, but these errors were encountered:
GerMalaz
changed the title
apt: Ability to write conf files anywhere in /etc/apt
[debops.apt]: Ability to write conf files anywhere in /etc/apt
Aug 29, 2023
Scenario: Have a private repo protected by a client cert.
So have an entry in apt.conf.d like:
`Acquire::https::$repo {
CaInfo "/etc/apt/certs/$repo/ca.crt";
};`
/etc/apt/certs looks like a good place for these files.
However, I see no way to write these files using the apt role.
Can clone the apt__*conf variables (Generate additional APT configuration files) to write to
"/etc/apt/{{ (item.dest | d(item.path | d(item.name))) }}"
Is there a better way?
The text was updated successfully, but these errors were encountered: