Skip to content

Commit

Permalink
install passlib via geerlingguy.pip
Browse files Browse the repository at this point in the history
  • Loading branch information
roschaefer committed Jul 6, 2024
1 parent c2408a5 commit 6ddcbe8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Continuous Deployment

on:
push:
pull_request:
branches: [ main ]

jobs:
Expand Down
6 changes: 6 additions & 0 deletions ansible/roles/initial_setup/tasks/ansible_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
line: '%wheel ALL=(ALL) ALL'
validate: '/usr/sbin/visudo -cf %s'

- name: Install passlib required for `password_hash` ansible filter
include_role:
name: geerlingguy.pip
pip_install_packages:
- name: passlib

- name: Create a new regular user with sudo privileges
user:
name: "{{ create_user }}"
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/initial_setup/tasks/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@

- name: Install required system packages
apt: name={{ sys_packages }} state=latest

3 changes: 0 additions & 3 deletions ansible/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
- role: initial_setup
- role: gantsign.inotify
inotify_max_user_watches: 524288
- role: geerlingguy.pip
pip_install_packages:
- name: passlib
- role: geerlingguy.docker
docker_packages_state: latest
vars:
Expand Down

0 comments on commit 6ddcbe8

Please sign in to comment.