-
-
Save nigelbabu/4c5c8877617ccb7903bf14f3dca25a17 to your computer and use it in GitHub Desktop.
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
- name: Remove junk from BSD machines | |
hosts: all | |
remote_user: jenkins | |
become: yes | |
become_user: root | |
become_method: su | |
tasks: | |
- name: Give permissions | |
command: chflags -R nouchg /usr | |
- name: Fix vulnerabilities | |
command: /usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities | |
- name: Make sqlite | |
command: make chdir=/usr/pkgsrc/databases/py-sqlite3 | |
- name: Make install | |
command: make install chdir=/usr/pkgsrc/databases/py-sqlite3 | |
- name: Clean | |
command: make clean chdir=/usr/pkgsrc/databases/py-sqlite3 | |
- name: Clean deps | |
command: make clean-depends chdir=/usr/pkgsrc/databases/py-sqlite3 | |
- name: Give permissions | |
command: chflags -R uchg /usr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment