Changeset - a53d9b143128
[Not reviewed]
0 1 0
x - 21 months ago 2023-08-24 02:20:16
xbr@c3l.lu
fix: always overwrite local changes when cloning repo
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
gateway/initial_gw_setup.yml
Show inline comments
 
@@ -276,24 +276,25 @@
 
        owner: root
 
        group: root
 
        mode: "0755"
 
      tags: config
 

	
 
    # mesh-announce
 
    - name: Clone mesh-announce git repo
 
      ansible.builtin.git:
 
        repo: "https://github.com/ffnord/mesh-announce"
 
        dest: /opt/mesh-announce
 
        # TODO: Verify that there has been no update!
 
        version: 40be9a18ee91fa058478bc04105cbd79fd70279e
 
        force: true # Removes local changes
 
      tags: config
 
    - name: Configure respondd.service file
 
      ansible.builtin.lineinfile:
 
        path: /opt/mesh-announce/respondd.service
 
        regexp: "^ExecStart="
 
        line: "ExecStart=/opt/mesh-announce/respondd.py -d /opt/mesh-announce/providers -f /opt/mesh-announce/respondd.conf"
 
        state: present
 
      tags: config
 
    - name: Symbolic link for respondd.service
 
      ansible.builtin.file:
 
        src: /opt/mesh-announce/respondd.service
 
        dest: /etc/systemd/system/respondd.service
0 comments (0 inline, 0 general)