Skip to content
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

Need architectures config in ansible.builtin.deb822_repository #161

Open
gilbert-hsu opened this issue Feb 25, 2024 · 0 comments
Open

Need architectures config in ansible.builtin.deb822_repository #161

gilbert-hsu opened this issue Feb 25, 2024 · 0 comments

Comments

@gilbert-hsu
Copy link

after upgrade to 7.0.0, find notice with apt update

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.nodesource.com/node_18.x nodistro InRelease' doesn't support architecture 'i386'

with various architectures, an architecture map would be good ?

such like

architecture_map:
  amd64: amd64
  x86_64: amd64
  armv7l: arm
  aarch64: arm64
  64-bit: amd64

and introduce architecture_map[ansible_architecture] as architectures config in ansible.builtin.deb822_repository

ansible.builtin.deb822_repository:
  name: nodesource_{{ nodejs_version }}
  uris: "https://deb.nodesource.com/node_{{ nodejs_version }}"
  types: deb
  suites: nodistro
  architectures: "{{ architecture_map[ansible_architecture] }}"
  components: main
  signed_by: "{{ node_signed_key.dest }}"
  state: present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant