aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/inxi/tasks
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-06-10 20:08:53 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-06-10 20:08:53 +0800
commitf6b14ea5c81d618fb6c29f38396cd7a961c06d3d (patch)
treec625cb5361887e39991261f55265c917bd238046 /resources/ansible_roles/inxi/tasks
parent26c2a8f2d556a8777d443b02d931e7df7fec8f6c (diff)
bugfix regex for cpu
Change-Id: I036af55669dcb386a16df9aaae202a39fdc23e9b Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/inxi/tasks')
-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 1050c9be..c1f0b28c 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>.+)\sspeed\/max'
+ - '^CPU\(s\):\s+(?P<cpu>.+)\sspeed'
- '.+\sDistro:\s+(?P<os>.+)'
- '.+\sKernel:\s+(?P<kernel>.+)\sConsole'
- '.+\s+HDD Total Size:\s+(?P<disk>.+)\s'