Fixing bind9 config
cubox-m still doesn't respond to outside requests
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
---
|
||||
# main tasks for installing glusterfs
|
||||
- name: add the glusterfs repo
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/apt/sources.list.d/gluster.list
|
||||
state: present
|
||||
create: yes
|
||||
owner: root
|
||||
group: root
|
||||
mode: 644
|
||||
line: deb [arch=arm64] https://download.gluster.org/pub/gluster/glusterfs/6/6.9/Debian/bullseye/arm64/apt bullseye main
|
||||
|
||||
- name: Add an Apt signing key, uses whichever key is at the URL
|
||||
ansible.builtin.apt_key:
|
||||
url: https://download.gluster.org/pub/gluster/glusterfs/6/rsa.pub
|
||||
state: present
|
||||
|
||||
# install packages
|
||||
- name: Ensure glusterfs server is installed.
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
name: "{{ item }}"
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
state: latest
|
||||
state: present
|
||||
with_items:
|
||||
- glusterfs-server
|
||||
- glusterfs-server=6.9
|
||||
- xfsprogs
|
||||
- xfsdump
|
||||
|
||||
@@ -26,4 +39,3 @@
|
||||
ansible.builtin.service:
|
||||
name: glusterfs-server
|
||||
state: started
|
||||
when: ansible_architecture == 'armv7l'
|
||||
|
||||
Reference in New Issue
Block a user