update ansible installation instructions

Ansible has their own PPA now. The existing instructions (tested on ubuntu 18.04) will result in ansible 2.5.2 being installed, whereas adding the PPA will result in the latest (2.9.3).
This commit is contained in:
Malpractis 2020-01-21 08:49:01 +11:00 committed by GitHub
parent aef4b8a664
commit 910b8ddd9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,12 @@ You can run Ansible-NAS from the computer you plan to use for your NAS, or from
2. Install Ansible: 2. Install Ansible:
`sudo apt update`
`sudo apt install software-properties-common`
`sudo apt-add-repository --yes --update ppa:ansible/ansible`
`sudo apt install ansible` `sudo apt install ansible`
3. Clone Ansible-NAS: 3. Clone Ansible-NAS:
@ -27,4 +33,4 @@ You can run Ansible-NAS from the computer you plan to use for your NAS, or from
7. Install the dependent roles: `ansible-galaxy install -r requirements.yml` (you might need `sudo` to install Ansible roles). 7. Install the dependent roles: `ansible-galaxy install -r requirements.yml` (you might need `sudo` to install Ansible roles).
8. Run the playbook - something like `ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K` should do you nicely. 8. Run the playbook - something like `ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K` should do you nicely.