--- - name: bitwarden data file: path: "{{ bitwarden_data }}" state: directory recurse: yes - name: bitwarden container docker_container: name: bitwarden.0rpheus.net image: "bitwardenrs/server:{{ bitwarden_version }}" pull: yes restart_policy: always env: ADMIN_TOKEN: "{{ bitwarden_admin_token }}" ports: - 127.0.0.1:2080:80 volumes: - "{{ bitwarden_data }}:/data/:rw"