aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-05-26 09:05:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-26 09:05:24 +0000
commitbffa8def6b8df835f59e1129a0e19eac2f04a068 (patch)
tree95c5b87348914db6f3062509c8e46d219897a368 /resources/ansible_roles
parentacd3778e3d3ede9828408b67adef374a76493238 (diff)
parente52b80edeab048248923cb6e08e7d490f2af05ee (diff)
Merge "improve the regex for matching "cpu""
Diffstat (limited to 'resources/ansible_roles')
-rw-r--r--resources/ansible_roles/inxi/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/ansible_roles/inxi/tasks/main.yml b/resources/ansible_roles/inxi/tasks/main.yml
index f6216df4..1050c9be 100644
--- a/resources/ansible_roles/inxi/tasks/main.yml
+++ b/resources/ansible_roles/inxi/tasks/main.yml
@@ -42,7 +42,7 @@
patterns:
- '.+\s+Host:\s+(?P<hostname>.+)\sKernel'
- '.+\sMemory:\s+(?P<memory>.+MB)\s'
- - '^CPU\(s\):\s+(?P<cpu>.+)'
+ - '^CPU\(s\):\s+(?P<cpu>.+)\sspeed\/max'
- '.+\sDistro:\s+(?P<os>.+)'
- '.+\sKernel:\s+(?P<kernel>.+)\sConsole'
- '.+\s+HDD Total Size:\s+(?P<disk>.+)\s'