passwd 文件中同一存储桶的多个条目(默认)
Multiple entries for the same bucket(default) in the passwd file
我正在尝试在旧的第 3 方集成上重新运行 Ansible 脚本,命令如下所示:
- name: "mount s3fs Fuse FS on boot from [REDACTED] on [REDACTED]"
mount:
name: "{{ [REDACTED] }}/s3/file_access"
src: "{{ s3_file_access_bucket }}:{{ s3_file_access_key }}"
fstype: fuse.s3fs
opts: "_netdev,uid={{ uid }},gid={{ group }},mp_umask=022,allow_other,nonempty,endpoint={{ s3_file_access_region }}"
state: mounted
tags:
- [REDACTED]
我收到这个错误:
fatal: [REDACTED]: FAILED! => {"changed": false, "failed": true, "msg": "Error mounting /home/[REDACTED]: s3fs: there are multiple entries for the same bucket(default) in the passwd file.\n"}
我想找一个 passwd 文件来清除,但我不知道在哪里可以找到。
有人认出这个错误吗?
s3fs 检查 /etc/passwd-s3fs
和 $HOME/.passwd-s3fs
凭据。这些文件之一似乎有您需要删除的重复条目。
您的 Ansible src
节也尝试提供凭据,但我认为这不会奏效。相反,您可以通过 AWSACCESSKEYID
和 AWSSECRETACCESSKEY
环境变量提供这些。
我正在尝试在旧的第 3 方集成上重新运行 Ansible 脚本,命令如下所示:
- name: "mount s3fs Fuse FS on boot from [REDACTED] on [REDACTED]"
mount:
name: "{{ [REDACTED] }}/s3/file_access"
src: "{{ s3_file_access_bucket }}:{{ s3_file_access_key }}"
fstype: fuse.s3fs
opts: "_netdev,uid={{ uid }},gid={{ group }},mp_umask=022,allow_other,nonempty,endpoint={{ s3_file_access_region }}"
state: mounted
tags:
- [REDACTED]
我收到这个错误:
fatal: [REDACTED]: FAILED! => {"changed": false, "failed": true, "msg": "Error mounting /home/[REDACTED]: s3fs: there are multiple entries for the same bucket(default) in the passwd file.\n"}
我想找一个 passwd 文件来清除,但我不知道在哪里可以找到。
有人认出这个错误吗?
s3fs 检查 /etc/passwd-s3fs
和 $HOME/.passwd-s3fs
凭据。这些文件之一似乎有您需要删除的重复条目。
您的 Ansible src
节也尝试提供凭据,但我认为这不会奏效。相反,您可以通过 AWSACCESSKEYID
和 AWSSECRETACCESSKEY
环境变量提供这些。