Skip to content

Commit

Permalink
Remove ansible deprecation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
  • Loading branch information
Zlopez authored and mergify[bot] committed Mar 11, 2019
1 parent 43aa48f commit cf3ad42
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ansible/roles/anitya-dev/tasks/main.yml
Expand Up @@ -81,12 +81,11 @@
- name: Install Anitya into the virtualenv
become_user: "{{ ansible_env.SUDO_USER }}"
pip:
name: "{{ item }}"
name:
- "file:///home/{{ ansible_env.SUDO_USER }}/devel"
- "file:///home/{{ ansible_env.SUDO_USER }}/devel/anitya_schema"
extra_args: "-e"
virtualenv: /home/{{ ansible_env.SUDO_USER }}/.virtualenvs/anitya/
with_items:
- "file:///home/{{ ansible_env.SUDO_USER }}/devel"
- "file:///home/{{ ansible_env.SUDO_USER }}/devel/anitya_schema"

- name: Create user systemd directory
become_user: "{{ ansible_env.SUDO_USER }}"
Expand Down

0 comments on commit cf3ad42

Please sign in to comment.