Update configuration & remove old packages
This commit is contained in:
parent
3e4d60091e
commit
64fde68038
5 changed files with 1 additions and 37 deletions
11
playbook.yml
11
playbook.yml
|
|
@ -1,14 +1,5 @@
|
|||
- hosts: localhost
|
||||
pre_tasks:
|
||||
- name: load OS specific vars
|
||||
include_vars: '{{ item }}'
|
||||
with_first_found:
|
||||
- files:
|
||||
- '{{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}.yml'
|
||||
- '{{ ansible_distribution|lower }}.yml'
|
||||
- '{{ ansible_os_family|lower }}.yml'
|
||||
paths:
|
||||
- 'vars/'
|
||||
- name: install packages
|
||||
become: true
|
||||
package:
|
||||
|
|
@ -32,6 +23,6 @@
|
|||
name: common
|
||||
tasks_from: 'poetry.yml'
|
||||
- import_tasks: 'tasks/dotfiles.yml'
|
||||
- import_tasks: 'tasks/coc.yml'
|
||||
vars_files:
|
||||
- 'vars/main.yml'
|
||||
- 'vars/{{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}.yml'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue