Merge pull request #223 from enigma28/installation-pymodule-update

Installation pymodule update
This commit is contained in:
David Stephens 2020-01-23 16:14:03 +00:00 committed by GitHub
commit bb3e764eed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 3 deletions

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:
`sudo apt update`
`sudo apt install software-properties-common`
`sudo apt-add-repository --yes --update ppa:ansible/ansible`
`sudo apt install ansible`
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).
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.

View file

@ -6,9 +6,16 @@
register: result
until: result is succeeded
- name: 'Install docker-py'
- name: 'Remove docker-py python module'
pip:
name: docker-py
state: absent
register: result
until: result is succeeded
- name: 'Install docker python module'
pip:
name: docker
state: present
register: result
until: result is succeeded
@ -37,4 +44,4 @@
state: restarted
when: docker_config.changed
tags:
- skip_ansible_lint
- skip_ansible_lint