diff --git a/roles/codimd/tasks/0_apt_dependencies.yml b/roles/codimd/tasks/0_apt_dependencies.yml index d610b8a..aad9bb8 100644 --- a/roles/codimd/tasks/0_apt_dependencies.yml +++ b/roles/codimd/tasks/0_apt_dependencies.yml @@ -3,8 +3,8 @@ - name: Configure NodeJS pin when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch' template: - src: 'apt/nodejs' - dest: '/etc/apt/preferences.d/nodejs' + src: apt/nodejs + dest: /etc/apt/preferences.d/nodejs mode: 0644 # Install CodiMD dependencies diff --git a/roles/codimd/tasks/1_user_group.yml b/roles/codimd/tasks/1_user_group.yml index d0bc67d..b4a9d64 100644 --- a/roles/codimd/tasks/1_user_group.yml +++ b/roles/codimd/tasks/1_user_group.yml @@ -11,7 +11,7 @@ user: name: codimd group: codimd - home: '/var/local/codimd' + home: /var/local/codimd comment: CodiMD system: yes state: present @@ -19,7 +19,7 @@ # Security #3 - name: Secure CodiMD home directory file: - path: '/var/local/codimd' + path: /var/local/codimd state: directory owner: codimd group: codimd diff --git a/roles/codimd/tasks/main.yml b/roles/codimd/tasks/main.yml index 929de4e..93be80a 100644 --- a/roles/codimd/tasks/main.yml +++ b/roles/codimd/tasks/main.yml @@ -8,7 +8,7 @@ # Download CodiMD - name: Clone CodiMD project git: - repo: 'https://github.com/hackmdio/codimd.git' + repo: https://github.com/hackmdio/codimd.git dest: /var/local/codimd/codimd version: 1.2.1 become: yes