回答編集履歴
1
説明文の追加
test
CHANGED
@@ -30,6 +30,9 @@
|
|
30
30
|
|
31
31
|
## 実行結果
|
32
32
|
|
33
|
+
x86_64アーキテクチャのRPMは既に導入済みである前提です (アンインストール不可)。
|
34
|
+
その状態でi686アーキテクチャのRPMを導入できました。
|
35
|
+
|
33
36
|
```
|
34
37
|
TASK [uninstall i386 and x86_64 RPMs] ************************
|
35
38
|
changed: [test] => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": true, "msg": "", "rc": 0, "results": ["Removed: cyrus-sasl-lib-2.1.27-6.el8_5.i686"]}
|
@@ -53,3 +56,5 @@
|
|
53
56
|
* `name.arch`という指定方法については、`man dnf`の`SPECIFYING PACKAGES`セクションに書いてあります
|
54
57
|
* [参考: man dnf](https://man7.org/linux/man-pages/man8/dnf.8.html#SPECIFYING_PACKAGES)
|
55
58
|
* CentOS Stream 8には`cyrus-sasl-lib.x86_64`が始めからインストールされていました。このパッケージは`sudo`の依存パッケージのため、アンインストールできませんでした。従って、`x86_64`は確実に`OK`になってしまいます
|
59
|
+
|
60
|
+
もし回答内容が意図したものと異なるのであれば、端的なPlaybook、期待する挙動、実際の挙動を添えて返信いただければ追加で確認します。
|