-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds Ansible configurations to the project. It includes a new file `.vscode/settings.json` with the `ansible.python.interpreterPath` set to `/bin/python3`. The changes in `tasks/main.yml` include renaming "Packages" task to "Gather facts", adding a new block named "Become block" that includes tasks for packages, history date, vimrc and sysstat. Finally, there are updates in `tasks/vimrc.yml`, where mode is now defined as a string instead of an integer.
- Loading branch information
Showing
3 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"ansible.python.interpreterPath": "/bin/python3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
--- | ||
- name: "Packages" | ||
become: true | ||
ansible.builtin.import_tasks: packages.yml | ||
- name: "Gather facts" | ||
ansible.builtin.setup: | ||
when: ansible_facts|default({}) == {} | ||
|
||
- name: "History Date" | ||
- name: "Become block" | ||
become: true | ||
ansible.builtin.import_tasks: historydate.yml | ||
block: | ||
- name: "Packages" | ||
ansible.builtin.include_tasks: packages.yml | ||
|
||
- name: "Vimrc" | ||
become: true | ||
ansible.builtin.import_tasks: vimrc.yml | ||
- name: "History Date" | ||
ansible.builtin.include_tasks: historydate.yml | ||
|
||
- name: "Sysstat" | ||
become: true | ||
ansible.builtin.import_tasks: sysstat.yml | ||
- name: "Vimrc" | ||
ansible.builtin.include_tasks: vimrc.yml | ||
|
||
- name: "Sysstat" | ||
ansible.builtin.include_tasks: sysstat.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters