---
  - hosts: resume
    tasks:
      - name: Git clone the code
        git:
          repo: git@github.com:psionikangel/resume.git
          dest: ~/resume
          accept_hostkey: true
      - name: Build the docker container
        shell: docker build -t resume:latest .
        args:
          chdir: /home/ubuntu/resume
        become: true
      - name: Start the containter
        shell: docker run --name current-resume -d -p 80:80 -p 443:443 -v /site:/usr/share/nginx/html -v /nginx/nginx.conf:/etc/nginx/nginx.conf resume:latest
        become: true

---
  - hosts: resume
    tasks:
      - name: Git clone the code
        git:
          repo: git@github.com:psionikangel/resume.git
          dest: ~/resume
          accept_hostkey: true
      - name: Build the docker container
        shell: docker build -t resume:latest .
        args:
          chdir: /home/ubuntu/resume
        become: true
      - name: Start the containter
        shell: docker run --name current-resume -d -p 80:80 -p 443:443 -v /site:/usr/share/nginx/html -v /nginx:/etc/nginx/nginx.conf resume:latest
        become: true

Fix wrong nginx conf path
Fix wrong nginx conf path
