add user escalation

main
Nils Gerstner 2 years ago
parent 0d1acd61f1
commit aee325252a

@ -40,6 +40,8 @@
- install - install
- dotfiles - dotfiles
- productivity - productivity
become: true
become_user: nige
# - name: Move dotfiles to dest folder # - name: Move dotfiles to dest folder
# ansible.builtin.copy: # ansible.builtin.copy:
@ -65,6 +67,8 @@
- install - install
- dotfiles - dotfiles
- productivity - productivity
become: true
become_user: nige
- name: Set the right prompt - name: Set the right prompt
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
@ -76,3 +80,5 @@
- install - install
- dotfiles - dotfiles
- productivity - productivity
become: true
become_user: nige

@ -30,6 +30,8 @@
- install - install
- productivity - productivity
- java - java
become: true
become_user: nige
- name: Set JAVA_HOME - name: Set JAVA_HOME
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
@ -41,6 +43,8 @@
- productivity - productivity
- java - java
when: javahome is defined when: javahome is defined
become: true
become_user: nige
# JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64" # JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"

@ -13,8 +13,12 @@
tags: tags:
- install - install
- notes - notes
become: true
become_user: nige
- name: Start meilisearch - name: Start meilisearch
shell: "/usr/local/bin/meilisearch --http-addr 0.0.0.0:7700 >/dev/null 2>&1 &" shell: "/usr/local/bin/meilisearch --http-addr 0.0.0.0:7700 >/dev/null 2>&1 &"
tags: tags:
- notes - notes
become: true
become_user: nige

@ -15,3 +15,5 @@
- git - git
- productivity - productivity
- dotfiles - dotfiles
become: true
become_user: nige

Loading…
Cancel
Save